android_kernel_motorola_sm6225/fs/xfs/linux-2.6
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
..
kmem.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
kmem.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mrlock.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mutex.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sema.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
spin.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sv.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
time.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_aops.c [PATCH] pass iocb to dio_iodone_t 2005-06-24 00:05:19 -07:00
xfs_buf.c [PATCH] Cleanup patch for process freezing 2005-06-25 17:10:13 -07:00
xfs_buf.h [XFS] remove xfs_incore_relse 2005-06-21 15:38:03 +10:00
xfs_cred.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_export.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_export.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_file.c [XFS] coordinate mmap calls with xfs_dm_punch_hole 2005-06-21 14:07:45 +10:00
xfs_fs_subr.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_fs_subr.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_globals.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_globals.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_ioctl.c [XFS] Makes more sense to use the fsxattr interface instead of adding new 2005-06-21 15:48:04 +10:00
xfs_ioctl32.c [XFS] Makes more sense to use the fsxattr interface instead of adding new 2005-06-21 15:48:04 +10:00
xfs_ioctl32.h [XFS] Fix directory inodes ioctl compat code, minor code consistency cleanups 2005-05-06 06:44:46 -07:00
xfs_iops.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_iops.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_linux.h Merge rsync://oss.sgi.com/git/xfs-2.6 2005-06-21 19:51:18 -07:00
xfs_lrw.c [XFS] Handle inode semaphores properly for dmapi queues 2005-06-22 10:20:44 +10:00
xfs_lrw.h [XFS] (mostly) remove xfs_inval_cached_pages Since the last round of 2005-06-21 15:47:39 +10:00
xfs_stats.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_stats.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_super.c [PATCH] Cleanup patch for process freezing 2005-06-25 17:10:13 -07:00
xfs_super.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_sysctl.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_sysctl.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_version.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_vfs.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_vfs.h [XFS] quiesce the filesystem proper when freezing 2005-06-21 15:40:48 +10:00
xfs_vnode.c [XFS] fix some more compiler warnings in the vnode tracing code 2005-06-21 15:33:48 +10:00
xfs_vnode.h [XFS] Add a get/set interface for XFS project identifiers. 2005-06-21 13:21:49 +10:00