Re: Re: Re: Re: [PATCH v1] sched/numa: add per-process numa_balancing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/9/21 5:19 PM, Mel Gorman wrote:
On Tue, Nov 09, 2021 at 04:28:28PM +0800, Gang Li wrote:
If the global tuning affects default behaviour and the prctl
affects specific behaviour.  Then when prctl specifies
numa_balancing for a process, there is no way for the
global tuning to affect that process.

While I think it's very likely that the common case will be to disable
NUMA balancing for specific processes,
prctl(PR_NUMA_BALANCING,PR_SET_NUMA_BALANCING,1) should still be
meaningful.


I'm still a bit confused.

If we really want to enable/disable numa_balancing for all processes, but some of them override the global numa_balancing using prctl, what should we do?

Do we iterate through these processes to enable/disable them individually?





[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux