kernel-hacking-2024-linux-s.../drivers
Nick Piggin 250dccc008 [PATCH] blk: no memory barrier
This memory barrier is not needed because the waitqueue will only get waiters
on it in the following situations:

rq->count has exceeded the threshold - however all manipulations of ->count
are performed under the runqueue lock, and so we will correctly pick up any
waiter.

Memory allocation for the request fails.  In this case, there is no additional
help provided by the memory barrier.  We are guaranteed to eventually wake up
waiters because the request allocation mempool guarantees that if the mem
allocation for a request fails, there must be some requests in flight.  They
will wake up waiters when they are retired.

Signed-off-by: Nick Piggin <nickpiggin@yahoo.com.au>
Cc: Jens Axboe <axboe@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-06-23 09:45:16 -07:00
..
acorn
acpi
atm
base [PATCH] driver core: Fix up the device_attach() error handling in bus_add_device() 2005-06-22 23:01:10 -07:00
block [PATCH] blk: no memory barrier 2005-06-23 09:45:16 -07:00
bluetooth
cdrom
char
cpufreq
crypto
dio
eisa
fc4
firmware
i2c
ide [PATCH] NUMA aware block device control structure allocation 2005-06-23 09:45:09 -07:00
ieee1394
infiniband
input
isdn
macintosh
mca
md
media
message
misc
mmc
mtd
net Merge 'misc-fixes' branch of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 2005-06-23 09:25:04 -07:00
nubus
oprofile
parisc
parport
pci
pcmcia
pnp
s390
sbus
scsi
serial
sh
sn
tc
telephony
usb [PATCH] USB: fix hid core to return proper error code from probe 2005-06-22 23:01:09 -07:00
video
w1
zorro
Kconfig
Makefile