Re: [PATCH v3 3/7] sched/numa: scan read-only file mappings in tiering mode

From: David Hildenbrand (Arm)

Date: Fri Sep 25 2026 - 06:06:09 EST


On 9/25/26 02:35, Gregory Price wrote:
> On Thu, Sep 24, 2026 at 10:53:56PM +0200, David Hildenbrand (Arm) wrote:
>>> + placement_scan &= numab_mode & NUMA_BALANCING_NORMAL;
>>
>> Do we have to update placement_scan at all?
>
> in the following commits this composes:
>
> placement_scan &= numab_mode & NUMA_BALANCING_NORMAL;
> if (scan_started)
> placement_scan &= vma->numab_state->placement_scan;
> else if (tiering)
> placement_scan &= placement_due;
>
if (scan_started && !vma->numab_state->placement_scan)
placement_scan = false;
else if (tiering && !placement_due)
placement_scan = false;

Is more pleasing to the eye ;)

--
Cheers,

David