kernel-fxtec-pro1x/fs/jfs
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
..
acl.c [PATCH] remove <linux/xattr_acl.h> 2005-06-23 09:45:33 -07:00
endian24.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
file.c JFS: fix sparse warnings by moving extern declarations to headers 2005-05-04 15:29:35 -05:00
inode.c JFS: fix sparse warnings by moving extern declarations to headers 2005-05-04 15:29:35 -05:00
jfs_acl.h [PATCH] remove <linux/xattr_acl.h> 2005-06-23 09:45:33 -07:00
jfs_btree.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
jfs_debug.c JFS: fix sparse warnings by moving extern declarations to headers 2005-05-04 15:29:35 -05:00
jfs_debug.h JFS: fix sparse warnings by moving extern declarations to headers 2005-05-04 15:29:35 -05:00
jfs_dinode.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
jfs_dmap.c JFS: cleanup - remove unneeded sanity check 2005-05-04 15:30:51 -05:00
jfs_dmap.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
jfs_dtree.c JFS: kernel BUG at fs/jfs/jfs_txnmgr.c:859 2005-06-02 12:18:20 -05:00
jfs_dtree.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
jfs_extent.c JFS: fix sparse warnings by moving extern declarations to headers 2005-05-04 15:29:35 -05:00
jfs_extent.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
jfs_filsys.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
jfs_imap.c JFS: fix sparse warnings by moving extern declarations to headers 2005-05-04 15:29:35 -05:00
jfs_imap.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
jfs_incore.h [PATCH] JFS: Support page sizes greater than 4K 2005-05-02 22:23:53 -07:00
jfs_inode.c JFS: fix sparse warnings by moving extern declarations to headers 2005-05-04 15:29:35 -05:00
jfs_inode.h JFS: fix sparse warnings by moving extern declarations to headers 2005-05-04 15:29:35 -05:00
jfs_lock.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
jfs_logmgr.c [PATCH] Cleanup patch for process freezing 2005-06-25 17:10:13 -07:00
jfs_logmgr.h JFS: fix sparse warnings by moving extern declarations to headers 2005-05-04 15:29:35 -05:00
jfs_metapage.c JFS: Fix sparse warning 2005-05-04 15:31:14 -05:00
jfs_metapage.h JFS: fix sparse warnings by moving extern declarations to headers 2005-05-04 15:29:35 -05:00
jfs_mount.c [PATCH] JFS: Support page sizes greater than 4K 2005-05-02 22:23:53 -07:00
jfs_superblock.h JFS: fix sparse warnings by moving extern declarations to headers 2005-05-04 15:29:35 -05:00
jfs_txnmgr.c [PATCH] Cleanup patch for process freezing 2005-06-25 17:10:13 -07:00
jfs_txnmgr.h JFS: fix sparse warnings by moving extern declarations to headers 2005-05-04 15:29:35 -05:00
jfs_types.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
jfs_umount.c [PATCH] JFS: Support page sizes greater than 4K 2005-05-02 22:23:53 -07:00
jfs_unicode.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
jfs_unicode.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
jfs_uniupr.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
jfs_xattr.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
jfs_xtree.c JFS: Endian errors 2005-05-04 09:11:49 -05:00
jfs_xtree.h 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
namei.c JFS: fix sparse warnings by moving extern declarations to headers 2005-05-04 15:29:35 -05:00
resize.c [PATCH] JFS: Support page sizes greater than 4K 2005-05-02 22:23:53 -07:00
super.c [PATCH] remove <linux/xattr_acl.h> 2005-06-23 09:45:33 -07:00
symlink.c JFS: fix sparse warnings by moving extern declarations to headers 2005-05-04 15:29:35 -05:00
xattr.c [PATCH] remove <linux/xattr_acl.h> 2005-06-23 09:45:33 -07:00