[PATCH v2 0/2] cgroup/cpuset: Make hotplug code more efficient
From: Waiman Long
Date: Thu Feb 02 2023 - 09:33:07 EST
v2:
- It turns out it works around the v1 cpuset missing offline cpu
problem better than I originally thought. So the patch description
is updated accordingly.
This small patch series makes the cpuset hotplug a bit more efficient
by eliminating unnecessary task iteration and cpu/node masks update
when a cpu hotplug event (online/offline) happens.
It can also largely work around the known problem of missing previously
offlined cpus in v1 cpuset with some exceptions.
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