Linux kernel -stable discussions
 help / color / mirror / Atom feed
From: Tim Chen <tim.c.chen@linux.intel.com>
To: Greg KH <gregkh@linuxfoundation.org>
Cc: Tim Chen <tim.c.chen@linux.intel.com>,
	Chen Yu <yu.c.chen@intel.com>, Lu Wang <wanglu.priv@gmail.com>,
	Davi Chaves Azevedo <davichazbh@gmail.com>,
	Peter Zijlstra <peterz@infradead.org>,
	Ingo Molnar <mingo@redhat.com>,
	stable@vger.kernel.org
Subject: [PATCH 7.2.y 0/7] Fixes for cache aware scheduling
Date: Wed, 30 Sep 2026 10:48:02 -0700	[thread overview]
Message-ID: <cover.1790790344.git.tim.c.chen@linux.intel.com> (raw)

Greg,

Here is a series of patches backported to v7.2.8 (commit 9a66fdc0d7fd)
to fix cache aware scheduling.
The original commit ids in upstream are listed as below.
Upstream commit ids are also listed at the beginning of commit log of each patch:

commit f0d243a96f26 ("sched/fair: Avoid creating misfits during cache-aware balancing")
commit 0d6526f82c3c ("sched/cache: Keep nr_pref_llc_running in the runnable domain, to fix LLC mis-scheduling bug")
commit d6013e2465d9 ("sched/cache: Honor migrate_llc_task semantics in active load balance, to fix LLC mis-scheduling bug")
commit 28f9c0e0a0b9 ("sched/cache: Decouple sched_cache_group from mm to fix UAF")
commit b636fef85bda ("sched/cache: Introduce task_struct->sched_cache_grp to fix UAF")
commit 65efcccddc83 ("sched/cache: Skip kernel threads for cache aware scheduling to rubustify the code")
commit 3cb0243767fd ("sched/cache: Refresh LLC capacity across CPU hotplug, to fix capacity underestimation bug")

Thanks.

Tim

Chen Yu (1):
  sched/cache: Skip kernel threads for cache aware scheduling to
    rubustify the code

Davi Chaves Azevedo (1):
  sched/cache: Refresh LLC capacity across CPU hotplug, to fix capacity
    underestimation bug

Lu Wang (1):
  sched/cache: Honor migrate_llc_task semantics in active load balance,
    to fix LLC mis-scheduling bug

Tim Chen (4):
  sched/fair: Avoid creating misfits during cache-aware balancing
  sched/cache: Keep nr_pref_llc_running in the runnable domain, to fix
    LLC mis-scheduling bug
  sched/cache: Decouple sched_cache_group from mm to fix UAF
  sched/cache: Introduce task_struct->sched_cache_grp to fix UAF

 drivers/base/cacheinfo.c       |  11 +-
 fs/exec.c                      |   1 +
 include/linux/mm_types.h       |  15 +-
 include/linux/sched.h          |  20 +-
 include/linux/sched/topology.h |   4 +-
 kernel/exit.c                  |  28 +-
 kernel/fork.c                  |   2 +
 kernel/sched/fair.c            | 467 +++++++++++++++++++++++++++------
 kernel/sched/topology.c        |  22 +-
 9 files changed, 432 insertions(+), 138 deletions(-)

-- 
2.32.0


             reply	other threads:[~2026-09-30 17:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-30 17:48 Tim Chen [this message]
2026-09-30 17:48 ` [PATCH 7.2.y 1/7] sched/fair: Avoid creating misfits during cache-aware balancing Tim Chen
2026-09-30 17:48 ` [PATCH 7.2.y 2/7] sched/cache: Keep nr_pref_llc_running in the runnable domain, to fix LLC mis-scheduling bug Tim Chen
2026-09-30 17:48 ` [PATCH 7.2.y 3/7] sched/cache: Honor migrate_llc_task semantics in active load balance, " Tim Chen
2026-09-30 17:48 ` [PATCH 7.2.y 4/7] sched/cache: Decouple sched_cache_group from mm to fix UAF Tim Chen
2026-09-30 17:48 ` [PATCH 7.2.y 5/7] sched/cache: Introduce task_struct->sched_cache_grp " Tim Chen
2026-09-30 17:48 ` [PATCH 7.2.y 6/7] sched/cache: Skip kernel threads for cache aware scheduling to rubustify the code Tim Chen
2026-09-30 17:48 ` [PATCH 7.2.y 7/7] sched/cache: Refresh LLC capacity across CPU hotplug, to fix capacity underestimation bug Tim Chen
2026-10-02 14:19 ` [PATCH 7.2.y 0/7] Fixes for cache aware scheduling Sasha Levin

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=cover.1790790344.git.tim.c.chen@linux.intel.com \
    --to=tim.c.chen@linux.intel.com \
    --cc=davichazbh@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=mingo@redhat.com \
    --cc=peterz@infradead.org \
    --cc=stable@vger.kernel.org \
    --cc=wanglu.priv@gmail.com \
    --cc=yu.c.chen@intel.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