android_kernel_motorola_sm6225/fs/xfs
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
..
linux-2.6 [PATCH] Cleanup patch for process freezing 2005-06-25 17:10:13 -07:00
quota [XFS] Remove some debugging code from quota syscalls. 2005-06-21 15:57:57 +10:00
support [XFS] simplify ASSERT 2005-06-21 15:43:22 +10:00
Kconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile [XFS] Enable XFS_VNODE_TRACE 2005-05-05 13:26:18 -07:00
xfs.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_acl.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_acl.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_ag.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_alloc.c [XFS] mark various symbols static Patch from Adrian Bunk 2005-06-21 15:36:52 +10:00
xfs_alloc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_alloc_btree.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_alloc_btree.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_arch.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_attr.c [XFS] mark various symbols static Patch from Adrian Bunk 2005-06-21 15:36:52 +10:00
xfs_attr.h [XFS] mark various symbols static Patch from Adrian Bunk 2005-06-21 15:36:52 +10:00
xfs_attr_leaf.c [XFS] mark various symbols static Patch from Adrian Bunk 2005-06-21 15:36:52 +10:00
xfs_attr_leaf.h [XFS] mark various symbols static Patch from Adrian Bunk 2005-06-21 15:36:52 +10:00
xfs_attr_sf.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_behavior.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_behavior.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_bit.c [XFS] mark various symbols static Patch from Adrian Bunk 2005-06-21 15:36:52 +10:00
xfs_bit.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_bmap.c [XFS] Merge fixes into realtime quota code, since one/two reported, still 2005-06-21 15:48:47 +10:00
xfs_bmap.h [XFS] mark various symbols static Patch from Adrian Bunk 2005-06-21 15:36:52 +10:00
xfs_bmap_btree.c [XFS] Remove dead code. Patch from Adrian Bunk 2005-06-21 15:36:00 +10:00
xfs_bmap_btree.h [XFS] Remove dead code. Patch from Adrian Bunk 2005-06-21 15:36:00 +10:00
xfs_btree.c [XFS] Fix up some warning fallout from functions made static 2005-06-21 15:39:44 +10:00
xfs_btree.h [XFS] mark various symbols static Patch from Adrian Bunk 2005-06-21 15:36:52 +10:00
xfs_buf_item.c [XFS] mark various symbols static Patch from Adrian Bunk 2005-06-21 15:36:52 +10:00
xfs_buf_item.h [XFS] Add support for project quota, based on Dan Knappes earlier work. 2005-06-21 15:38:48 +10:00
xfs_cap.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_clnt.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_da_btree.c [XFS] mark various symbols static Patch from Adrian Bunk 2005-06-21 15:36:52 +10:00
xfs_da_btree.h [XFS] mark various symbols static Patch from Adrian Bunk 2005-06-21 15:36:52 +10:00
xfs_dfrag.c [XFS] (mostly) remove xfs_inval_cached_pages Since the last round of 2005-06-21 15:47:39 +10:00
xfs_dfrag.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_dinode.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_dir.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_dir.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_dir2.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_dir2.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_dir2_block.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_dir2_block.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_dir2_data.c [XFS] mark various symbols static Patch from Adrian Bunk 2005-06-21 15:36:52 +10:00
xfs_dir2_data.h [XFS] mark various symbols static Patch from Adrian Bunk 2005-06-21 15:36:52 +10:00
xfs_dir2_leaf.c [XFS] Fix up some warning fallout from functions made static 2005-06-21 15:39:44 +10:00
xfs_dir2_leaf.h [XFS] mark various symbols static Patch from Adrian Bunk 2005-06-21 15:36:52 +10:00
xfs_dir2_node.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_dir2_node.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_dir2_sf.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_dir2_sf.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_dir2_trace.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_dir2_trace.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_dir_leaf.c [XFS] mark various symbols static Patch from Adrian Bunk 2005-06-21 15:36:52 +10:00
xfs_dir_leaf.h [XFS] mark various symbols static Patch from Adrian Bunk 2005-06-21 15:36:52 +10:00
xfs_dir_sf.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_dmapi.h [XFS] Handle inode semaphores properly for dmapi queues 2005-06-22 10:20:44 +10:00
xfs_dmops.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_error.c [XFS] mark various symbols static Patch from Adrian Bunk 2005-06-21 15:36:52 +10:00
xfs_error.h [XFS] mark various symbols static Patch from Adrian Bunk 2005-06-21 15:36:52 +10:00
xfs_extfree_item.c [XFS] consolidate extent item freeing 2005-06-21 15:41:19 +10:00
xfs_extfree_item.h [XFS] consolidate extent item freeing 2005-06-21 15:41:19 +10:00
xfs_fs.h [XFS] Makes more sense to use the fsxattr interface instead of adding new 2005-06-21 15:48:04 +10:00
xfs_fsops.c [XFS] Remove dead code. Patch from Adrian Bunk 2005-06-21 15:36:00 +10:00
xfs_fsops.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_ialloc.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_ialloc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_ialloc_btree.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_ialloc_btree.h [XFS] add XFS_INOBT_IS_FREE_DISK 2005-06-21 15:40:20 +10:00
xfs_iget.c [XFS] Move the XFS inode to the front of its hash list on a cache hit 2005-05-05 13:23:27 -07:00
xfs_imap.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_inode.c [XFS] Add support for project quota inheritance, a merge of Glens changes. 2005-06-21 15:39:12 +10:00
xfs_inode.h [XFS] rewrite xfs_iflush_all 2005-06-21 15:37:17 +10:00
xfs_inode_item.c [XFS] mark various symbols static Patch from Adrian Bunk 2005-06-21 15:36:52 +10:00
xfs_inode_item.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_inum.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_iocore.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_iomap.c [XFS] Merge fixes into realtime quota code, since one/two reported, still 2005-06-21 15:48:47 +10:00
xfs_iomap.h [XFS] Cleanup use of loff_t vs xfs_off_t in the core code. 2005-05-05 13:33:40 -07:00
xfs_itable.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_itable.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_log.c [XFS] mark various symbols static Patch from Adrian Bunk 2005-06-21 15:36:52 +10:00
xfs_log.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_log_priv.h [XFS] mark various symbols static Patch from Adrian Bunk 2005-06-21 15:36:52 +10:00
xfs_log_recover.c [XFS] consolidate extent item freeing 2005-06-21 15:41:19 +10:00
xfs_log_recover.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_mac.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_macros.c [XFS] add XFS_INOBT_IS_FREE_DISK 2005-06-21 15:40:20 +10:00
xfs_macros.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_mount.c [XFS] remove xfs_incore_relse 2005-06-21 15:38:03 +10:00
xfs_mount.h [XFS] Add support for project quota, based on Dan Knappes earlier work. 2005-06-21 15:38:48 +10:00
xfs_qmops.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_quota.h [XFS] Merge fixes into realtime quota code, since one/two reported, still 2005-06-21 15:48:47 +10:00
xfs_refcache.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_rename.c [XFS] Remove dead code. Patch from Adrian Bunk 2005-06-21 15:36:00 +10:00
xfs_rtalloc.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_rtalloc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_rw.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_rw.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_sb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_trans.c [XFS] mark various symbols static Patch from Adrian Bunk 2005-06-21 15:36:52 +10:00
xfs_trans.h [XFS] Remove dead code. Patch from Adrian Bunk 2005-06-21 15:36:00 +10:00
xfs_trans_ail.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_trans_buf.c [XFS] Add support for project quota, based on Dan Knappes earlier work. 2005-06-21 15:38:48 +10:00
xfs_trans_extfree.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_trans_inode.c [XFS] Remove dead code. Patch from Adrian Bunk 2005-06-21 15:36:00 +10:00
xfs_trans_item.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_trans_priv.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_trans_space.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs_types.h [XFS] Add a get/set interface for XFS project identifiers. 2005-06-21 13:21:49 +10:00
xfs_utils.c [XFS] Add support for project quota, based on Dan Knappes earlier work. 2005-06-21 15:38:48 +10:00
xfs_utils.h [XFS] Fix up uses of nlink_t incorrectly restricting us to 2^16 links for some platforms 2005-05-05 13:25:00 -07:00
xfs_vfsops.c [XFS] quiesce the filesystem proper when freezing 2005-06-21 15:40:48 +10:00
xfs_vnodeops.c [XFS] Merge fixes into realtime quota code, since one/two reported, still 2005-06-21 15:48:47 +10:00