android_kernel_xiaomi_sm8350/drivers/media/video
Christoph Lameter 3e1d1d28d9 [PATCH] Cleanup patch for process freezing
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>
2005-06-25 17:10:13 -07:00
..
cx88 [PATCH] v4l: CX88 cards update 2005-06-24 00:06:39 -07:00
ovcamchip Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
saa7134 [PATCH] v4l: fix I2C detect after normal_i2c_range() 2005-06-24 00:06:40 -07:00
adv7170.c [PATCH] I2C: Merge unused address lists in some video drivers 2005-06-21 21:51:49 -07:00
adv7175.c [PATCH] I2C: Merge unused address lists in some video drivers 2005-06-21 21:51:49 -07:00
arv.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bt819.c [PATCH] I2C: Merge unused address lists in some video drivers 2005-06-21 21:51:49 -07:00
bt832.c [PATCH] v4l: fix I2C detect after normal_i2c_range() 2005-06-24 00:06:40 -07:00
bt832.h [PATCH] v4l: update for tuner cards and some V4L chips 2005-06-24 00:06:39 -07:00
bt848.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bt856.c [PATCH] I2C: Merge unused address lists in some video drivers 2005-06-21 21:51:49 -07:00
btcx-risc.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
btcx-risc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bttv-cards.c [PATCH] bttv update 2005-06-24 00:06:38 -07:00
bttv-driver.c [PATCH] bttv update 2005-06-24 00:06:38 -07:00
bttv-gpio.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bttv-i2c.c [PATCH] bttv update 2005-06-24 00:06:38 -07:00
bttv-if.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bttv-risc.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bttv-vbi.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bttv.h [PATCH] bttv update 2005-06-24 00:06:38 -07:00
bttvp.h [PATCH] bttv update 2005-06-24 00:06:38 -07:00
bw-qcam.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bw-qcam.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
c-qcam.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpia_pp.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpia_usb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpia.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpia.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cs8420.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dpc7146.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hexium_gemini.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hexium_orion.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ibmmpeg2.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ir-kbd-gpio.c [PATCH] v4l: CX88 cards update 2005-06-24 00:06:39 -07:00
ir-kbd-i2c.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig [PATCH] VIDEO_CX88_DVB must select DVB_CX22702 2005-06-24 00:06:36 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
meye.c [PATCH] fix u32 vs. pm_message_t in drivers/media 2005-04-16 15:25:27 -07:00
meye.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
msp3400.c [PATCH] Cleanup patch for process freezing 2005-06-25 17:10:13 -07:00
msp3400.h [PATCH] v4l: update for tuner cards and some V4L chips 2005-06-24 00:06:39 -07:00
mt20xx.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mxb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mxb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
planb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
planb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pms.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
saa5246a.c [PATCH] I2C: Kill address ranges in non-sensors i2c chip drivers 2005-06-21 21:51:48 -07:00
saa5246a.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
saa5249.c [PATCH] I2C: Kill address ranges in non-sensors i2c chip drivers 2005-06-21 21:51:48 -07:00
saa7110.c [PATCH] I2C: Merge unused address lists in some video drivers 2005-06-21 21:51:49 -07:00
saa7111.c [PATCH] I2C: Merge unused address lists in some video drivers 2005-06-21 21:51:49 -07:00
saa7114.c [PATCH] I2C: Merge unused address lists in some video drivers 2005-06-21 21:51:49 -07:00
saa7121.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
saa7146.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
saa7146reg.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
saa7185.c [PATCH] I2C: Merge unused address lists in some video drivers 2005-06-21 21:51:49 -07:00
saa7196.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
stradis.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tda7432.c [PATCH] v4l: fix I2C detect after normal_i2c_range() 2005-06-24 00:06:40 -07:00
tda8290.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tda9840.c [PATCH] I2C: Kill address ranges in non-sensors i2c chip drivers 2005-06-21 21:51:48 -07:00
tda9840.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tda9875.c [PATCH] v4l: fix I2C detect after normal_i2c_range() 2005-06-24 00:06:40 -07:00
tda9887.c [PATCH] v4l: fix I2C detect after normal_i2c_range() 2005-06-24 00:06:40 -07:00
tea6415c.c [PATCH] I2C: Kill address ranges in non-sensors i2c chip drivers 2005-06-21 21:51:48 -07:00
tea6415c.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tea6420.c [PATCH] I2C: Kill address ranges in non-sensors i2c chip drivers 2005-06-21 21:51:48 -07:00
tea6420.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tuner-3036.c [PATCH] I2C: Merge unused address lists in some video drivers 2005-06-21 21:51:49 -07:00
tuner-core.c [PATCH] v4l: fix I2C detect after normal_i2c_range() 2005-06-24 00:06:40 -07:00
tuner-simple.c [PATCH] v4l: update for tuner cards and some V4L chips 2005-06-24 00:06:39 -07:00
tvaudio.c [PATCH] make various thing static 2005-06-24 00:06:43 -07:00
tvaudio.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tveeprom.c [PATCH] v4l: fix I2C detect after normal_i2c_range() 2005-06-24 00:06:40 -07:00
tvmixer.c [PATCH] v4l: update for tuner cards and some V4L chips 2005-06-24 00:06:39 -07:00
v4l1-compat.c [PATCH] v4l: update for SAA7134 cards 2005-06-24 00:06:39 -07:00
v4l2-common.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
video-buf-dvb.c [PATCH] Cleanup patch for process freezing 2005-06-25 17:10:13 -07:00
video-buf.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
videocodec.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
videocodec.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
videodev.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vino.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vino.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vpx3220.c [PATCH] I2C: Merge unused address lists in some video drivers 2005-06-21 21:51:49 -07:00
w9966.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zoran_card.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zoran_card.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zoran_device.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zoran_device.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zoran_driver.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zoran_procfs.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zoran_procfs.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zoran.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zr36016.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zr36016.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zr36050.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zr36050.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zr36057.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zr36060.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zr36060.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zr36120_i2c.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zr36120_mem.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zr36120_mem.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zr36120.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zr36120.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00