3e1d1d28d9
1. Establish a simple API for process freezing defined in linux/include/sched.h: frozen(process) Check for frozen process freezing(process) Check if a process is being frozen freeze(process) Tell a process to freeze (go to refrigerator) thaw_process(process) Restart process frozen_process(process) Process is frozen now 2. Remove all references to PF_FREEZE and PF_FROZEN from all kernel sources except sched.h 3. Fix numerous locations where try_to_freeze is manually done by a driver 4. Remove the argument that is no longer necessary from two function calls. 5. Some whitespace cleanup 6. Clear potential race in refrigerator (provides an open window of PF_FREEZE cleared before setting PF_FROZEN, recalc_sigpending does not check PF_FROZEN). This patch does not address the problem of freeze_processes() violating the rule that a task may only modify its own flags by setting PF_FREEZE. This is not clean in an SMP environment. freeze(process) is therefore not SMP safe! Signed-off-by: Christoph Lameter <christoph@lameter.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org> |
||
---|---|---|
.. | ||
cx88 | ||
ovcamchip | ||
saa7134 | ||
adv7170.c | ||
adv7175.c | ||
arv.c | ||
bt819.c | ||
bt832.c | ||
bt832.h | ||
bt848.h | ||
bt856.c | ||
btcx-risc.c | ||
btcx-risc.h | ||
bttv-cards.c | ||
bttv-driver.c | ||
bttv-gpio.c | ||
bttv-i2c.c | ||
bttv-if.c | ||
bttv-risc.c | ||
bttv-vbi.c | ||
bttv.h | ||
bttvp.h | ||
bw-qcam.c | ||
bw-qcam.h | ||
c-qcam.c | ||
cpia_pp.c | ||
cpia_usb.c | ||
cpia.c | ||
cpia.h | ||
cs8420.h | ||
dpc7146.c | ||
hexium_gemini.c | ||
hexium_orion.c | ||
ibmmpeg2.h | ||
ir-kbd-gpio.c | ||
ir-kbd-i2c.c | ||
Kconfig | ||
Makefile | ||
meye.c | ||
meye.h | ||
msp3400.c | ||
msp3400.h | ||
mt20xx.c | ||
mxb.c | ||
mxb.h | ||
planb.c | ||
planb.h | ||
pms.c | ||
saa5246a.c | ||
saa5246a.h | ||
saa5249.c | ||
saa7110.c | ||
saa7111.c | ||
saa7114.c | ||
saa7121.h | ||
saa7146.h | ||
saa7146reg.h | ||
saa7185.c | ||
saa7196.h | ||
stradis.c | ||
tda7432.c | ||
tda8290.c | ||
tda9840.c | ||
tda9840.h | ||
tda9875.c | ||
tda9887.c | ||
tea6415c.c | ||
tea6415c.h | ||
tea6420.c | ||
tea6420.h | ||
tuner-3036.c | ||
tuner-core.c | ||
tuner-simple.c | ||
tvaudio.c | ||
tvaudio.h | ||
tveeprom.c | ||
tvmixer.c | ||
v4l1-compat.c | ||
v4l2-common.c | ||
video-buf-dvb.c | ||
video-buf.c | ||
videocodec.c | ||
videocodec.h | ||
videodev.c | ||
vino.c | ||
vino.h | ||
vpx3220.c | ||
w9966.c | ||
zoran_card.c | ||
zoran_card.h | ||
zoran_device.c | ||
zoran_device.h | ||
zoran_driver.c | ||
zoran_procfs.c | ||
zoran_procfs.h | ||
zoran.h | ||
zr36016.c | ||
zr36016.h | ||
zr36050.c | ||
zr36050.h | ||
zr36057.h | ||
zr36060.c | ||
zr36060.h | ||
zr36120_i2c.c | ||
zr36120_mem.c | ||
zr36120_mem.h | ||
zr36120.c | ||
zr36120.h |