Re: [External] Re: [PATCH] psi: Use ONCPU state tracking machinery to detect reclaim

2021-02-11 Thread Chengming Zhou
Hello Johannes, 在 2021/2/11 上午4:37, Johannes Weiner 写道: > On Wed, Feb 10, 2021 at 12:06:05PM +0800, Chengming Zhou wrote: >> Move the reclaim detection from the timer tick to the task state >> tracking machinery using the recently added ONCPU state. And we >> also add memstall state changes checki

Re: [PATCH] psi: Use ONCPU state tracking machinery to detect reclaim

2021-02-10 Thread Johannes Weiner
On Wed, Feb 10, 2021 at 12:06:05PM +0800, Chengming Zhou wrote: > Move the reclaim detection from the timer tick to the task state > tracking machinery using the recently added ONCPU state. And we > also add memstall state changes checking in the psi_task_switch() > optimization to update the paren

[PATCH] psi: Use ONCPU state tracking machinery to detect reclaim

2021-02-09 Thread Chengming Zhou
Move the reclaim detection from the timer tick to the task state tracking machinery using the recently added ONCPU state. And we also add memstall state changes checking in the psi_task_switch() optimization to update the parents properly. Thanks to Johannes Weiner for pointing out the psi_task_sw