diff options
author | Yafang Shao <laoar.shao@gmail.com> | 2020-03-16 21:28:05 -0400 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2020-03-20 13:06:19 +0100 |
commit | 1066d1b6974e095d5a6c472ad9180a957b496cd6 (patch) | |
tree | 32f387de4a544bdc0772949e6ffe9464ea229bc0 /kernel/sched/sched.h | |
parent | a0fe6ba69059266ba70ed5d3c4ac80713f6ffde7 (diff) |
psi: Move PF_MEMSTALL out of task->flags
The task->flags is a 32-bits flag, in which 31 bits have already been
consumed. So it is hardly to introduce other new per process flag.
Currently there're still enough spaces in the bit-field section of
task_struct, so we can define the memstall state as a single bit in
task_struct instead.
This patch also removes an out-of-date comment pointed by Matthew.
Suggested-by: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Yafang Shao <laoar.shao@gmail.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Link: https://lkml.kernel.org/r/1584408485-1921-1-git-send-email-laoar.shao@gmail.com
Diffstat (limited to 'kernel/sched/sched.h')
0 files changed, 0 insertions, 0 deletions