diff options
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 8ac11465ac5b..993e7e25a3a5 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -1224,9 +1224,9 @@ extern struct pid *cad_pid; | |||
1224 | #define PF_USED_ASYNC 0x00004000 /* Used async_schedule*(), used by module init */ | 1224 | #define PF_USED_ASYNC 0x00004000 /* Used async_schedule*(), used by module init */ |
1225 | #define PF_NOFREEZE 0x00008000 /* This thread should not be frozen */ | 1225 | #define PF_NOFREEZE 0x00008000 /* This thread should not be frozen */ |
1226 | #define PF_FROZEN 0x00010000 /* Frozen for system suspend */ | 1226 | #define PF_FROZEN 0x00010000 /* Frozen for system suspend */ |
1227 | #define PF_FSTRANS 0x00020000 /* Inside a filesystem transaction */ | 1227 | #define PF_KSWAPD 0x00020000 /* I am kswapd */ |
1228 | #define PF_KSWAPD 0x00040000 /* I am kswapd */ | 1228 | #define PF_MEMALLOC_NOFS 0x00040000 /* All allocation requests will inherit GFP_NOFS */ |
1229 | #define PF_MEMALLOC_NOIO 0x00080000 /* Allocating memory without IO involved */ | 1229 | #define PF_MEMALLOC_NOIO 0x00080000 /* All allocation requests will inherit GFP_NOIO */ |
1230 | #define PF_LESS_THROTTLE 0x00100000 /* Throttle me less: I clean memory */ | 1230 | #define PF_LESS_THROTTLE 0x00100000 /* Throttle me less: I clean memory */ |
1231 | #define PF_KTHREAD 0x00200000 /* I am a kernel thread */ | 1231 | #define PF_KTHREAD 0x00200000 /* I am a kernel thread */ |
1232 | #define PF_RANDOMIZE 0x00400000 /* Randomize virtual address space */ | 1232 | #define PF_RANDOMIZE 0x00400000 /* Randomize virtual address space */ |
@@ -1237,8 +1237,6 @@ extern struct pid *cad_pid; | |||
1237 | #define PF_FREEZER_SKIP 0x40000000 /* Freezer should not count it as freezable */ | 1237 | #define PF_FREEZER_SKIP 0x40000000 /* Freezer should not count it as freezable */ |
1238 | #define PF_SUSPEND_TASK 0x80000000 /* This thread called freeze_processes() and should not be frozen */ | 1238 | #define PF_SUSPEND_TASK 0x80000000 /* This thread called freeze_processes() and should not be frozen */ |
1239 | 1239 | ||
1240 | #define PF_MEMALLOC_NOFS PF_FSTRANS /* Transition to a more generic GFP_NOFS scope semantic */ | ||
1241 | |||
1242 | /* | 1240 | /* |
1243 | * Only the _current_ task can read/write to tsk->flags, but other | 1241 | * Only the _current_ task can read/write to tsk->flags, but other |
1244 | * tasks can access tsk->flags in readonly mode for example | 1242 | * tasks can access tsk->flags in readonly mode for example |