Re: [External] Re: [PATCH v2] psi: Remove the redundant psi_task_tick

2021-02-09 Thread Chengming Zhou
Hello Johannes, 在 2021/2/9 下午11:48, Johannes Weiner 写道: > Hello Chengming, > > On Tue, Feb 09, 2021 at 03:10:33PM +0800, Chengming Zhou wrote: >> When the current task in a cgroup is in_memstall, the corresponding groupc >> on that cpu is in PSI_MEM_FULL state, so we can exploit that to remove the

Re: [PATCH v2] psi: Remove the redundant psi_task_tick

2021-02-09 Thread Johannes Weiner
Hello Chengming, On Tue, Feb 09, 2021 at 03:10:33PM +0800, Chengming Zhou wrote: > When the current task in a cgroup is in_memstall, the corresponding groupc > on that cpu is in PSI_MEM_FULL state, so we can exploit that to remove the > redundant psi_task_tick from scheduler_tick to save this peri

[PATCH v2] psi: Remove the redundant psi_task_tick

2021-02-08 Thread Chengming Zhou
When the current task in a cgroup is in_memstall, the corresponding groupc on that cpu is in PSI_MEM_FULL state, so we can exploit that to remove the redundant psi_task_tick from scheduler_tick to save this periodic cost. Signed-off-by: Muchun Song Signed-off-by: Chengming Zhou --- include/linu