mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Waiman Long <longman@redhat.com>
To: Tejun Heo <tj@kernel.org>, Zefan Li <lizefan.x@bytedance.com>,
	Johannes Weiner <hannes@cmpxchg.org>
Cc: cgroups@vger.kernel.org, linux-kernel@vger.kernel.org,
	Xavier <ghostxavier@sina.com>, Waiman Long <longman@redhat.com>
Subject: [PATCH-cgroup 0/2] cgroup/cpuset: Fix remote root partition creation problem
Date: Wed,  5 Jun 2024 13:18:56 -0400	[thread overview]
Message-ID: <20240605171858.1323464-1-longman@redhat.com> (raw)

While reviewing the generate_sched_domains() function, I found a bug
in generating sched domains for remote non-isolating partitions. After
extending test_cpuset_prs.sh to cover those cases, the bug is confirmed.

The first patch fixes the remote partitions sched domain generation
problem and the second patch updates the test.

Waiman Long (2):
  cgroup/cpuset: Fix remote root partition creation problem
  selftest/cgroup: Dump expected sched-domain data to console

 kernel/cgroup/cpuset.c                        | 55 ++++++++++++++-----
 .../selftests/cgroup/test_cpuset_prs.sh       | 29 +++++++++-
 2 files changed, 68 insertions(+), 16 deletions(-)

-- 
2.39.3


             reply	other threads:[~2024-06-05 17:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-05 17:18 Waiman Long [this message]
2024-06-05 17:18 ` [PATCH-cgroup 1/2] " Waiman Long
2024-06-05 17:18 ` [PATCH-cgroup 2/2] selftest/cgroup: Dump expected sched-domain data to console Waiman Long

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240605171858.1323464-1-longman@redhat.com \
    --to=longman@redhat.com \
    --cc=cgroups@vger.kernel.org \
    --cc=ghostxavier@sina.com \
    --cc=hannes@cmpxchg.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lizefan.x@bytedance.com \
    --cc=tj@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®