Messages in this thread | | | Date | Mon, 16 Mar 2020 12:13:27 -0400 | From | Johannes Weiner <> | Subject | Re: [PATCH 1/1] psi: move PF_MEMSTALL out of task->flags |
| |
On Mon, Mar 16, 2020 at 06:46:25AM -0400, Yafang Shao wrote: > 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. > > Suggested-by: Johannes Weiner <hannes@cmpxchg.org> > Signed-off-by: Yafang Shao <laoar.shao@gmail.com>
Thanks for reworking it. This looks good to me.
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
| |