diff options
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index e60a91d5b369..b0e37cfa09f5 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -869,6 +869,7 @@ struct task_struct { | |||
869 | struct cpuset *cpuset; | 869 | struct cpuset *cpuset; |
870 | nodemask_t mems_allowed; | 870 | nodemask_t mems_allowed; |
871 | int cpuset_mems_generation; | 871 | int cpuset_mems_generation; |
872 | int cpuset_mem_spread_rotor; | ||
872 | #endif | 873 | #endif |
873 | atomic_t fs_excl; /* holding fs exclusive resources */ | 874 | atomic_t fs_excl; /* holding fs exclusive resources */ |
874 | struct rcu_head rcu; | 875 | struct rcu_head rcu; |
@@ -929,6 +930,8 @@ static inline void put_task_struct(struct task_struct *t) | |||
929 | #define PF_BORROWED_MM 0x00400000 /* I am a kthread doing use_mm */ | 930 | #define PF_BORROWED_MM 0x00400000 /* I am a kthread doing use_mm */ |
930 | #define PF_RANDOMIZE 0x00800000 /* randomize virtual address space */ | 931 | #define PF_RANDOMIZE 0x00800000 /* randomize virtual address space */ |
931 | #define PF_SWAPWRITE 0x01000000 /* Allowed to write to swap */ | 932 | #define PF_SWAPWRITE 0x01000000 /* Allowed to write to swap */ |
933 | #define PF_SPREAD_PAGE 0x04000000 /* Spread page cache over cpuset */ | ||
934 | #define PF_SPREAD_SLAB 0x08000000 /* Spread some slab caches over cpuset */ | ||
932 | 935 | ||
933 | /* | 936 | /* |
934 | * Only the _current_ task can read/write to tsk->flags, but other | 937 | * Only the _current_ task can read/write to tsk->flags, but other |