All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org, sched-ext@lists.linux.dev,
	David Vernet <void@manifault.com>,
	Andrea Righi <arighi@nvidia.com>,
	Changwoo Min <changwoo@igalia.com>,
	Emil Tsalapatis <emil@etsalapatis.com>
Subject: [GIT PULL] sched_ext: Fixes for v7.1-rc2
Date: Tue, 05 May 2026 12:05:36 -1000	[thread overview]
Message-ID: <0b691f25de6be993a3496962f91fa212@kernel.org> (raw)

Hello,

The following changes since commit d99f7a32f09dccbe396187370ec1a74a31b73d7e:

  sched_ext: Fix scx_flush_disable_work() UAF race (2026-04-28 07:40:03 -1000)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/tj/sched_ext.git tags/sched_ext-for-7.1-rc2-fixes

for you to fetch changes up to b34c82777a2c0648ee053595f4b290fd5249b093:

  sched_ext: idle: Recheck prev_cpu after narrowing allowed mask (2026-05-04 11:01:04 -1000)

----------------------------------------------------------------
sched_ext: Fixes for v7.1-rc2

- Fix idle CPU selection returning prev_cpu outside the task's cpus_ptr
  when the BPF caller's allowed mask was wider. Stable backport.

- Two opposite-direction gaps in scx_task_iter's cgroup-scoped mode
  versus the global mode:

  - Tasks past exit_signals() are filtered by the cgroup walk but kept by
    global. Sub-scheduler enable abort leaked __scx_init_task() state.
    Add a CSS_TASK_ITER_WITH_DEAD flag to cgroup's task iterator
    (scx_task_iter is its only user) and use it.

  - Tasks past sched_ext_dead() are still returned, tripping
    WARN_ON_ONCE() in callers or making them touch torn-down state. Mark
    and skip under the per-task rq lock.

----------------------------------------------------------------
David Carlier (1):
      sched_ext: idle: Recheck prev_cpu after narrowing allowed mask

Tejun Heo (2):
      cgroup, sched_ext: Include exiting tasks in cgroup iter
      sched_ext: Skip past-sched_ext_dead() tasks in scx_task_iter_next_locked()

 include/linux/cgroup.h    |  1 +
 include/linux/sched/ext.h |  1 +
 kernel/cgroup/cgroup.c    |  8 +++++---
 kernel/sched/ext.c        | 39 +++++++++++++++++++++++++++++----------
 kernel/sched/ext_idle.c   | 12 ++++++------
 5 files changed, 42 insertions(+), 19 deletions(-)

Thanks.

--
tejun

             reply	other threads:[~2026-05-05 22:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-05 22:05 Tejun Heo [this message]
2026-05-05 23:55 ` [GIT PULL] sched_ext: Fixes for v7.1-rc2 pr-tracker-bot

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=0b691f25de6be993a3496962f91fa212@kernel.org \
    --to=tj@kernel.org \
    --cc=arighi@nvidia.com \
    --cc=changwoo@igalia.com \
    --cc=emil@etsalapatis.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sched-ext@lists.linux.dev \
    --cc=torvalds@linux-foundation.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.