]> err.no Git - linux-2.6/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)
commit2adcec2197897365e0a0f657f1098cbfdb44bc8b
tree90e0f152271ed95f7b2836124d3871a5a9b197f0
parenta0044bdf60c212366a314da09ca624cb315906e2
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