linux-stable/drivers
NeilBrown d28446fe2d [PATCH] md: close a small race in md thread deregistration
There is a tiny race when de-registering an MD thread, in that the thread
could disappear before it is set a SIGKILL, causing send_sig to have
problems.  

This is most easily closed by holding tasklist_lock between enabling the
thread to exit (setting ->run to NULL) and telling it to exit.

(akpm: ick.  Needs to use kthread API and stop using signals)

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-04-16 15:26:41 -07:00
..
acorn Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
acpi Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
atm Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
base [PATCH] pm_message_t: more fixes in common and i386 2005-04-16 15:25:24 -07:00
block [PATCH] arm: fix floppy disk dependencies 2005-04-16 15:26:02 -07:00
bluetooth Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cdrom Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
char [PATCH] update maintainer for /dev/random 2005-04-16 15:25:56 -07:00
cpufreq Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
crypto Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dio Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
eisa Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fc4 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
firmware Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
i2c [PATCH] i2c-i801: I2C patch for Intel ESB2 2005-04-16 15:24:45 -07:00
ide [PATCH] hd: eliminate bad section references 2005-04-16 15:25:52 -07:00
ieee1394 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
infiniband [PATCH] drivers/infiniband/hw/mthca/mthca_main.c: remove an unused label 2005-04-16 15:26:35 -07:00
input Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
isdn Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
macintosh [PATCH] fix few remaining u32 vs. pm_message_t problems 2005-04-16 15:25:38 -07:00
mca Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
md [PATCH] md: close a small race in md thread deregistration 2005-04-16 15:26:41 -07:00
media [PATCH] fix module_param_string() calls 2005-04-16 15:25:43 -07:00
message [PATCH] fix u32 vs. pm_message_t in drivers/message 2005-04-16 15:25:28 -07:00
misc Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mmc [PATCH] fix u32 vs. pm_message_t in drivers/mmc,mtd,scsi 2005-04-16 15:25:29 -07:00
mtd [PATCH] fix u32 vs. pm_message_t in drivers/mmc,mtd,scsi 2005-04-16 15:25:29 -07:00
net [PATCH] u32 vs. pm_message_t fixes for drivers/net 2005-04-16 15:25:25 -07:00
nubus Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
oprofile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
parisc Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
parport Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pci [PATCH] fix u32 vs. pm_message_t in PCI, PCIE 2005-04-16 15:25:33 -07:00
pcmcia [PATCH] fix u32 vs. pm_message_t in pcmcia 2005-04-16 15:25:26 -07:00
pnp [PATCH] pnpbios: eliminate bad section references 2005-04-16 15:25:51 -07:00
s390 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sbus Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scsi [PATCH] fix u32 vs. pm_message_t in drivers/mmc,mtd,scsi 2005-04-16 15:25:29 -07:00
serial [PATCH] serial: fix comments in 8250.c 2005-04-16 15:26:39 -07:00
sh Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sn Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tc Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
telephony Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
usb Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
video [PATCH] fix u32 vs. pm_message_t in driver/video 2005-04-16 15:25:36 -07:00
w1 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zorro Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00