android_kernel_xiaomi_sm8350/drivers/net/irda
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
..
act200l-sir.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
act200l.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
actisys-sir.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
actisys.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ali-ircc.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ali-ircc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
au1k_ir.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
au1000_ircc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
donauboe.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
donauboe.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ep7211_ir.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
esi-sir.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
esi.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
girbil-sir.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
girbil.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
irda-usb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
irda-usb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
irport.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
irport.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
irtty-sir.c [PATCH] Convert users to tty_unregister_ldisc() 2005-06-23 09:45:36 -07:00
irtty-sir.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig [PATCH] IrDA: IrDA: Fix CONFIG_VIA_FIR typo (double `those') 2005-06-12 20:43:21 -07:00
litelink-sir.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
litelink.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ma600-sir.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ma600.c 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
mcp2120-sir.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mcp2120.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
nsc-ircc.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
nsc-ircc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
old_belkin-sir.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
old_belkin.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sa1100_ir.c [PATCH] u32 vs. pm_message_t fixes for drivers/net 2005-04-16 15:25:25 -07:00
sir_core.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sir_dev.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sir_dongle.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sir_kthread.c [PATCH] Cleanup patch for process freezing 2005-06-25 17:10:13 -07:00
sir-dev.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
smsc-ircc2.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
smsc-ircc2.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
smsc-sio.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
stir4200.c [PATCH] Cleanup patch for process freezing 2005-06-25 17:10:13 -07:00
tekram-sir.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tekram.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
via-ircc.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
via-ircc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vlsi_ir.c [PATCH] u32 vs. pm_message_t fixes for drivers/net 2005-04-16 15:25:25 -07:00
vlsi_ir.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
w83977af_ir.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
w83977af_ir.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
w83977af.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00