linux/arch
Jeff Dike a0044bdf60 uml: batch I/O requests
Send as many I/O requests to the I/O thread as possible, even though it will
still only handle one at a time.  This provides an opportunity to reduce
latency by starting one request before the previous one has been finished in
the driver.

Request handling is somewhat modernized by requesting sg pieces of a request
and handling them separately, finishing off the entire request after all the
pieces are done.

When a request queue stalls, normally because its pipe to the I/O thread is
full, it is put on the restart list.  This list is processed by starting up
the queues on it whenever there is some indication that progress might be
possible again.  Currently, this happens in the driver interrupt routine.
Some requests have been finished, so there is likely to be room in the pipe
again.

This almost doubles throughput when copying data between devices, but made no
noticable difference on anything else I tried.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Cc: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-07 12:13:03 -07:00
..
alpha srmcons: fix kmalloc(GFP_KERNEL) inside spinlock 2007-05-07 12:12:58 -07:00
arm get_unmapped_area handles MAP_FIXED on arm 2007-05-07 12:12:56 -07:00
arm26 ARM26: remove useless config option GENERIC_BUST_SPINLOCK. 2007-05-07 12:12:58 -07:00
avr32 AVR32: Remove useless config option "GENERIC_BUST_SPINLOCK". 2007-04-27 13:45:26 +02:00
blackfin blackfin architecture 2007-05-07 12:12:58 -07:00
cris CRIS: remove code related to pre-2.2 kernel 2007-05-07 12:13:00 -07:00
frv get_unmapped_area handles MAP_FIXED on frv 2007-05-07 12:12:56 -07:00
h8300 h8300: add zImage support 2007-05-07 12:12:58 -07:00
i386 get_unmapped_area handles MAP_FIXED on i386 2007-05-07 12:12:56 -07:00
ia64 get_unmapped_area handles MAP_FIXED on ia64 2007-05-07 12:12:56 -07:00
m32r [PATCH] x86: Allow percpu variables to be page-aligned 2007-05-02 19:27:12 +02:00
m68k SPIN_LOCK_UNLOCKED cleanup in arch/m68k 2007-05-07 12:12:59 -07:00
m68knommu PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
mips RM9000 serial driver 2007-05-07 12:12:50 -07:00
parisc get_unmapped_area handles MAP_FIXED on parisc 2007-05-07 12:12:56 -07:00
powerpc slab allocators: Remove SLAB_DEBUG_INITIAL flag 2007-05-07 12:12:57 -07:00
ppc Merge branch 'for-linus' of git://one.firstfloor.org/home/andi/git/linux-2.6 2007-05-05 14:55:20 -07:00
s390 Introduce CONFIG_HAS_DMA 2007-05-07 12:12:51 -07:00
sh [PATCH] x86: Allow percpu variables to be page-aligned 2007-05-02 19:27:12 +02:00
sh64 Merge branch 'for-linus' of git://one.firstfloor.org/home/andi/git/linux-2.6 2007-05-05 14:55:20 -07:00
sparc [PATCH] x86: Allow percpu variables to be page-aligned 2007-05-02 19:27:12 +02:00
sparc64 get_unmapped_area handles MAP_FIXED on sparc64 2007-05-07 12:12:56 -07:00
um uml: batch I/O requests 2007-05-07 12:13:03 -07:00
v850 kbuild: Replace remaining "depends" with "depends on" 2007-02-17 19:05:24 +01:00
x86_64 swsusp: do not use page flags 2007-05-07 12:12:59 -07:00
xtensa Merge branch 'for-linus' of git://one.firstfloor.org/home/andi/git/linux-2.6 2007-05-05 14:55:20 -07:00