]> git.baikalelectronics.ru Git - kernel.git/commit
uml: send pointers instead of structures to I/O thread
authorJeff Dike <jdike@addtoit.com>
Sun, 6 May 2007 21:51:37 +0000 (14:51 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 7 May 2007 19:13:03 +0000 (12:13 -0700)
commitbba7e2ffae92785a2a61d74f6ea30750414dccaa
tree90e0f152271ed95f7b2836124d3871a5a9b197f0
parente7fe54d6fd960405260e4e13057114961735d677
uml: send pointers instead of structures to I/O thread

Instead of writing entire structures between UML and the I/O thread, we send
pointers.  This cuts down on the amount of data being copied and possibly
allows more requests to be pending between the two.

This requires that the requests be kmalloced and freed instead of living on
the stack.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/um/drivers/ubd_kern.c