kernel-ark/net
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
..
802
8021q
appletalk [ATALK] aarp: replace schedule_timeout() with msleep() 2005-06-22 22:11:44 -07:00
atm
ax25
bluetooth
bridge [EBTABLES]: vfree() checking cleanups 2005-06-22 22:12:57 -07:00
core [NET]: skb_find_text() - Find a text pattern in skb data 2005-06-23 21:00:17 -07:00
decnet
econet
ethernet
ipv4 [TCP]: Allow choosing TCP congestion control via sockopt. 2005-06-23 20:37:36 -07:00
ipv6 [TCP]: Allow choosing TCP congestion control via sockopt. 2005-06-23 20:37:36 -07:00
ipx
irda
key
lapb
llc
netlink
netrom
packet
rose
rxrpc [PATCH] Cleanup patch for process freezing 2005-06-25 17:10:13 -07:00
sched [PKT_SCHED]: Make NET_EMATCH_TEXT select TEXTSEARCh 2005-06-23 23:55:41 -07:00
sctp [PATCH] make various thing static 2005-06-24 00:06:43 -07:00
sunrpc [PATCH] Cleanup patch for process freezing 2005-06-25 17:10:13 -07:00
unix
wanrouter
x25 [X25]: Fast select with no restriction on response 2005-06-22 22:16:17 -07:00
xfrm
compat.c
Kconfig
Makefile
nonet.c
socket.c [NET]: dont use strlen() but the result from a prior sprintf() 2005-06-22 14:32:51 -07:00
sysctl_net.c
TUNABLE