Re: [RFC PATCH] Remove redundant sched_numa_balancing check.

2021-01-18 Thread Imran Khan
On 18/1/21 9:57 pm, Mel Gorman wrote: On Mon, Jan 18, 2021 at 09:32:18PM +1100, Imran Khan wrote: task_numa_fault is invoked from do_numa_page/do_huge_pmd_numa_page, for task_numa_work induced memory faults. task_numa_work is scheduled from task_tick_numa which is invoked only if

Re: [RFC PATCH] Remove redundant sched_numa_balancing check.

2021-01-18 Thread Mel Gorman
On Mon, Jan 18, 2021 at 09:32:18PM +1100, Imran Khan wrote: > task_numa_fault is invoked from do_numa_page/do_huge_pmd_numa_page, > for task_numa_work induced memory faults. task_numa_work is scheduled > from task_tick_numa which is invoked only if sched_numa_balancing > is true. > > So

[RFC PATCH] Remove redundant sched_numa_balancing check.

2021-01-18 Thread Imran Khan
task_numa_fault is invoked from do_numa_page/do_huge_pmd_numa_page, for task_numa_work induced memory faults. task_numa_work is scheduled from task_tick_numa which is invoked only if sched_numa_balancing is true. So task_numa_fault will not get invoked if sched_numa_balancing is false and hence