summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEric Kim <seohyun.kim@outlook.kr>2026-08-18 12:48:29 +0900
committerPeter Zijlstra <peterz@infradead.org>2026-09-10 11:01:30 +0200
commite81ee06308379a5f2ededf997bcf17551bce5db7 (patch)
treeed7f88bbcd533447ea83c936142a0fbcd783398d /scripts
parentef9293b3b797228fead10b55ed6bfb99bb7976b4 (diff)
sched/fair: Reset NUMA fault locality after scan period update
When updating the task scan period for NUMA locality checks, update_task_scan_period() checks whether there were no faults or failed migration on the last scan window, at which it prolongs the scan period. However, p->numa_faults_locality, which is used to check for migration failure and number of faults at the previous scan window is not cleared after changing the scan period, which unintentionally increases numa_scan_period up to numa_scan_period_max even when there were no migration failures or no faults at previous scan. Fix this by jumping to the out label on early exit at this case to ensure p->numa_faults_locality is always cleared before returning. Closes: https://lore.kernel.org/all/20250404095354.311156-1-qlsdnjs236@chungbuk.ac.kr/ Reported-by: Binwon Song <qlsdnjs236@chungbuk.ac.kr> Signed-off-by: Eric Kim <seohyun.kim@outlook.kr> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: stable@vger.kernel.org Link: https://patch.msgid.link/Message-ID:
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions