mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: K Prateek Nayak <kprateek.nayak@amd.com>
To: Zecheng Li <zli94@ncsu.edu>, Ingo Molnar <mingo@redhat.com>,
	"Peter Zijlstra" <peterz@infradead.org>,
	Juri Lelli <juri.lelli@redhat.com>,
	"Vincent Guittot" <vincent.guittot@linaro.org>
Cc: Dietmar Eggemann <dietmar.eggemann@arm.com>,
	Steven Rostedt <rostedt@goodmis.org>,
	Ben Segall <bsegall@google.com>, Mel Gorman <mgorman@suse.de>,
	Valentin Schneider <vschneid@redhat.com>,
	Rik van Riel <riel@surriel.com>, Chris Mason <clm@fb.com>,
	Madadi Vineeth Reddy <vineethr@linux.ibm.com>,
	Xu Liu <xliuprof@google.com>, Blake Jones <blakejones@google.com>,
	Josh Don <joshdon@google.com>,
	Nilay Vaish <nilayvaish@google.com>,
	<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v8 0/3] sched/fair: Optimize cfs_rq and sched_entity allocation for better data locality
Date: Thu, 22 Jan 2026 14:33:20 +0530	[thread overview]
Message-ID: <03488c43-2dc4-4ede-a489-b196e1426921@amd.com> (raw)
In-Reply-To: <20260121203402.1008441-1-zli94@ncsu.edu>

Hello Zecheng,

On 1/22/2026 2:03 AM, Zecheng Li wrote:
> Hi all,
> 
> This patch series improves CFS cache performance by allocating cfs_rq
> and sched_entity together in the per-cpu allocator. It allows for
> replacing the pointer arrays in task_group with a per-cpu offset.

I tested this with a cgroup stress test and haven't seen any splats.
Feel free to include:

Reviewed-by: K Prateek Nayak <kprateek.nayak@amd.com>
Tested-by: K Prateek Nayak <kprateek.nayak@amd.com>

Peter, I suppose you'll still need this with sched/flat since all
the intermediate sched_entities and cfs_rqs still l remain and
afaict co-locating sched_entity and the group cfs_rq can help since
prefetchers will very likely fetch the other when one of them is
accessed.

-- 
Thanks and Regards,
Prateek


  parent reply	other threads:[~2026-01-22  9:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-21 20:33 Zecheng Li
2026-01-21 20:33 ` [PATCH v8 1/3] sched/fair: Co-locate cfs_rq and sched_entity in cfs_tg_state Zecheng Li
2026-01-21 20:33 ` [PATCH v8 2/3] sched/fair: Remove task_group->se pointer array Zecheng Li
2026-01-21 20:33 ` [PATCH v8 3/3] sched/fair: Allocate cfs_tg_state with percpu allocator Zecheng Li
2026-01-22  9:03 ` K Prateek Nayak [this message]
2026-02-04 23:16 ` [PATCH v8 0/3] sched/fair: Optimize cfs_rq and sched_entity allocation for better data locality Josh Don
2026-02-12 19:20   ` Zecheng Li

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=03488c43-2dc4-4ede-a489-b196e1426921@amd.com \
    --to=kprateek.nayak@amd.com \
    --cc=blakejones@google.com \
    --cc=bsegall@google.com \
    --cc=clm@fb.com \
    --cc=dietmar.eggemann@arm.com \
    --cc=joshdon@google.com \
    --cc=juri.lelli@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mgorman@suse.de \
    --cc=mingo@redhat.com \
    --cc=nilayvaish@google.com \
    --cc=peterz@infradead.org \
    --cc=riel@surriel.com \
    --cc=rostedt@goodmis.org \
    --cc=vincent.guittot@linaro.org \
    --cc=vineethr@linux.ibm.com \
    --cc=vschneid@redhat.com \
    --cc=xliuprof@google.com \
    --cc=zli94@ncsu.edu \
    /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®