[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Wed, 1 Feb 2023 22:17:47 -0500
From: Waiman Long <longman@...hat.com>
To: Tejun Heo <tj@...nel.org>, Zefan Li <lizefan.x@...edance.com>,
Johannes Weiner <hannes@...xchg.org>,
Will Deacon <will@...nel.org>,
Peter Zijlstra <peterz@...radead.org>
Cc: linux-kernel@...r.kernel.org, cgroups@...r.kernel.org,
kernel-team@...roid.com, Waiman Long <longman@...hat.com>
Subject: [PATCH 0/2] cgroup/cpuset: Make hotplug code more efficient
This small patch series makes the cpuset hotplug a bit more efficient
by eliminating unnecessary task iteration and cpu/node masks update
when an hotplug event (online/offline) happens.
These patches can also avoid the known problem of missing a previously
gone offline cpu in v1 cpuset after a single cpu offline and online
sequence.
Waiman Long (2):
cgroup/cpuset: Skip task update if hotplug doesn't affect current
cpuset
cgroup/cpuset: Don't update tasks' cpumasks for cpu offline events
kernel/cgroup/cpuset.c | 31 +++++++++++++++++++++++--------
1 file changed, 23 insertions(+), 8 deletions(-)
--
2.31.1
Powered by blists - more mailing lists