[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251117092732.16419-1-piliu@redhat.com>
Date: Mon, 17 Nov 2025 17:27:29 +0800
From: Pingfan Liu <piliu@...hat.com>
To:
Cc: Pingfan Liu <piliu@...hat.com>,
Waiman Long <longman@...hat.com>,
Chen Ridong <chenridong@...weicloud.com>,
Peter Zijlstra <peterz@...radead.org>,
Juri Lelli <juri.lelli@...hat.com>,
Pierre Gondois <pierre.gondois@....com>,
Ingo Molnar <mingo@...hat.com>,
Vincent Guittot <vincent.guittot@...aro.org>,
Dietmar Eggemann <dietmar.eggemann@....com>,
Steven Rostedt <rostedt@...dmis.org>,
Ben Segall <bsegall@...gle.com>,
Mel Gorman <mgorman@...e.de>,
Valentin Schneider <vschneid@...hat.com>,
Tejun Heo <tj@...nel.org>,
Johannes Weiner <hannes@...xchg.org>,
mkoutny@...e.com,
linux-kernel@...r.kernel.org
Subject: [PATCHv6 0/2] sched/deadline: Walk up cpuset hierarchy to decide root domain when hot-unplug
This series fixes a deadline bug triggered during CPU hot-removal, which
prevents the CPU from being removed. For details, please refer to the
commit log in [2/2]. In addition, [1/2] exposes the
cpuset_cpus_allowed_locked() interface for use by [2/2].
v5 -> v6:
Introduce the cpuset_cpus_allowed_locked() variant (thanks to Waiman)
Use local_cpu_mask_dl to avoid cpumask allocation on the stack (thanks to Juri and Waiman)
v4 -> v5:
Move the housekeeping part into deadline.c (Thanks for Waiman's suggestion)
Use cpuset_cpus_allowed() instead of introducing new cpuset function (Thanks for Ridong's suggestion)
Pingfan Liu (2):
cgroup/cpuset: Introduce cpuset_cpus_allowed_locked()
sched/deadline: Walk up cpuset hierarchy to decide root domain when
hot-unplug
include/linux/cpuset.h | 1 +
kernel/cgroup/cpuset.c | 51 ++++++++++++++++++++++++++------------
kernel/sched/deadline.c | 54 ++++++++++++++++++++++++++++++++++++-----
3 files changed, 85 insertions(+), 21 deletions(-)
--
2.49.0
Powered by blists - more mailing lists