Skip to content

sched/deadline: Walk up cpuset hierarchy to decide root domain when hot-unplug

Pingfan Liu cgroups lkml 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest2 patches 8 repliesIn review
  2. v62 patches 3 repliesSuperseded
  3. v51 patch 7 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v31 patch5 repliesSuperseded
v21 patch2 repliesSuperseded

Changes in v7 from the cover letter

Provide cpuset_cpus_allowed_locked() for !CONFIG_CPUSETS

Patches in v7 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2cgroup/cpuset: Introduce cpuset_cpus_allowed_locked()include/linux/cpuset.h kernel/cgroup/cpuset.c+44 -162 replies
2/2sched/deadline: Walk up cpuset hierarchy to decide root domain when hot-unplugkernel/sched/deadline.c+48 -613 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchWaiman LongChen RidongJuri Lelli
1/2R-b R-b
2/2A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v7 thread

Cover letter [PATCHv7 0/2] sched/deadline: Walk up cpuset hierarchy to decide root domain when hot-unplug

MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

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].

v6 -> v7:
Provide cpuset_cpus_allowed_locked() for !CONFIG_CPUSETS

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  |  9 ++++++-
 kernel/cgroup/cpuset.c  | 51 ++++++++++++++++++++++++++------------
 kernel/sched/deadline.c | 54 ++++++++++++++++++++++++++++++++++++-----
 3 files changed, 92 insertions(+), 22 deletions(-)
Signature · 1 line
2.49.0