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

From: Gang Li
Date: Thu Nov 18 2021 - 04:51:14 EST


On 11/18/21 4:58 PM, Mel Gorman wrote:
On Thu, Nov 18, 2021 at 11:26:30AM +0800, Gang Li wrote:
3. prctl(PR_NUMA_BALANCING, PR_SET_NUMAB_ENABLE); //enable

If PR_SET_NUMAB_ENABLE enables numa balancing for a task when
kernel.numa_balancing == 0 instead of returning an error then sure.

Of course.

I'll send patch v2 soon.
--
Thanks,
Gang Li