From ef29bf03ef66e8c00f2917668ffb0c15e75bce8b Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Sun, 18 Apr 2004 22:05:17 -0700 Subject: [PATCH] Rename PF_IOTHREAD to PF_NOFREEZE From: Nigel Cunningham A few weeks ago, Pavel and I agreed that PF_IOTHREAD should be renamed to PF_NOFREEZE. This reflects the fact that some threads so marked aren't actually used for IO while suspending, but simply shouldn't be frozen. This patch, against 2.6.5 vanilla, applies that change. In the refrigerator calls, the actual value doesn't matter (so long as it's non-zero) and it makes more sense to use PF_FREEZE so I've used that. --- include/linux/sched.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/linux') diff --git a/include/linux/sched.h b/include/linux/sched.h index 17bbedd6bb3d..428b48964fc8 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -532,7 +532,7 @@ do { if (atomic_dec_and_test(&(tsk)->usage)) __put_task_struct(tsk); } while(0) #define PF_FLUSHER 0x00002000 /* responsible for disk writeback */ #define PF_FREEZE 0x00004000 /* this task should be frozen for suspend */ -#define PF_IOTHREAD 0x00008000 /* this thread is needed for doing I/O to swap */ +#define PF_NOFREEZE 0x00008000 /* this thread should not be frozen */ #define PF_FROZEN 0x00010000 /* frozen for system suspend */ #define PF_FSTRANS 0x00020000 /* inside a filesystem transaction */ #define PF_KSWAPD 0x00040000 /* I am kswapd */ -- cgit v1.2.3