lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250113073050.2811925-1-zhouchuyi@bytedance.com>
Date: Mon, 13 Jan 2025 15:30:47 +0800
From: Chuyi Zhou <zhouchuyi@...edance.com>
To: mingo@...hat.com,
	peterz@...radead.org,
	juri.lelli@...hat.com,
	vincent.guittot@...aro.org,
	dietmar.eggemann@....com,
	rostedt@...dmis.org,
	bsegall@...gle.com,
	mgorman@...e.de,
	vschneid@...hat.com,
	longman@...hat.com,
	riel@...riel.com
Cc: chengming.zhou@...ux.dev,
	kprateek.nayak@....com,
	linux-kernel@...r.kernel.org,
	Chuyi Zhou <zhouchuyi@...edance.com>
Subject: [PATCH v3 0/3] Take the scheduling domain into account in numa balancin

This patchset tries to fix the logic of handling isolate cpus in numa balancing.

patch#1: Clean up for task_numa_migrate().

patch#2: Introduce numa_balance_mask which will be used in
task_numa_migrate() as a temporary cpumask.

patch#3: Consider src_rq->rd->span to avoid gathering CPU's load not in the
current scheduling domain in update_numa_state(), and ensure that an
isolated CPU is not selected as best_cpu.

v3 ->v2: https://lore.kernel.org/lkml/20250103065930.413464-1-zhouchuyi@bytedance.com/#r
 - Use rq->rd->span in task_numa_migrate. (Peter)
 - Introduce per cpu mask as a temporary variable in task_numa_migrate.

v1 -> v2:
 - Collect Prateek's reviewed-by and add the history of
   task_numa_migrate() to commit log.

Chuyi Zhou (3):
  sched/fair: Remove unused task_numa_migrate return value
  sched/fair: Introduce per cpu numa_balance_mask
  sched/fair: Take sched_domain into account in task_numa_migrate

 kernel/sched/fair.c | 58 ++++++++++++++++++++++++++++++++-------------
 1 file changed, 41 insertions(+), 17 deletions(-)

-- 
2.20.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ