The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: Changwoo Min <changwoo@igalia.com>
Cc: void@manifault.com, arighi@nvidia.com, emil@etsalapatis.com,
	kernel-dev@igalia.com, sched-ext@lists.linux.dev,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] sched_ext: allow ops.cgroup_set_bandwidth() to be sleepable
Date: Tue, 18 Aug 2026 08:42:17 -1000	[thread overview]
Message-ID: <70c140870178b9bbf37456ed58959aa6@kernel.org> (raw)
In-Reply-To: <20260818160429.932265-1-changwoo@igalia.com>

Hello,

On Wed, Aug 19, 2026 at 01:04:29AM +0900, Changwoo Min wrote:
> ops.cgroup_set_bandwidth() is delivered from scx_group_set_bandwidth(),
> which runs from the cpu.max cgroup interface write path (tg_set_bandwidth())
> in process context. scx_group_set_bandwidth() holds
> percpu_down_read(&scx_cgroup_ops_rwsem), whose read side may sleep.
> The call site is therefore sleepable, like ops.cgroup_init().

Applied to sched_ext/for-7.3-fixes with the subject capitalization fixed.

Thanks.

--
tejun

      reply	other threads:[~2026-08-18 18:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-18 16:04 [PATCH v2] sched_ext: allow ops.cgroup_set_bandwidth() to be sleepable Changwoo Min
2026-08-18 18:42 ` Tejun Heo [this message]

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=70c140870178b9bbf37456ed58959aa6@kernel.org \
    --to=tj@kernel.org \
    --cc=arighi@nvidia.com \
    --cc=changwoo@igalia.com \
    --cc=emil@etsalapatis.com \
    --cc=kernel-dev@igalia.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sched-ext@lists.linux.dev \
    --cc=void@manifault.com \
    /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