mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Chen Yu <yu.c.chen@intel.com>
To: Jemmy Wong <jemmywong512@gmail.com>
Cc: Chen Yu <chen.yu@linux.dev>, <tim.c.chen@linux.intel.com>,
	Ingo Molnar <mingo@redhat.com>,
	Peter Zijlstra <peterz@infradead.org>,
	Juri Lelli <juri.lelli@redhat.com>,
	Vincent Guittot <vincent.guittot@linaro.org>,
	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>,
	K Prateek Nayak <kprateek.nayak@amd.com>,
	<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v2] sched/cache: Remove the old cache group footprint on exec
Date: Thu, 15 Oct 2026 11:08:06 +0800	[thread overview]
Message-ID: <atBDlr0OvYa-ExeV@chenyu-dev> (raw)
In-Reply-To: <1174BE6F-35AC-4BBA-BD36-661B6FEC0794@gmail.com>

On Thu, Oct 15, 2026 at 01:25:52AM +0800, Jemmy Wong wrote:
[…]

> I agree a pure pointer-assignment helper should not touch the
> footprint. I now think it is better to change its responsibility:
> rename it to sched_cache_switch_grp(): have it subtract the
> task's contribution from the old group, publish the new pointer,
> and return the old group for the caller to put. This keeps the
> leave-group accounting and NUMA guard centralized.
> 

Fair enough. I support this renaming proposal. Please feel free to
send a formal version.

thanks,
Chenyu

      reply	other threads:[~2026-10-15  3:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-10 11:16 Jemmy Wong
2026-10-10 15:04 ` Chen Yu
2026-10-12 13:34   ` Jemmy Wong
2026-10-14  9:17   ` Jemmy Wong
2026-10-14 13:03     ` Chen Yu
2026-10-14 17:25       ` Jemmy Wong
2026-10-15  3:08         ` Chen Yu [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=atBDlr0OvYa-ExeV@chenyu-dev \
    --to=yu.c.chen@intel.com \
    --cc=bsegall@google.com \
    --cc=chen.yu@linux.dev \
    --cc=dietmar.eggemann@arm.com \
    --cc=jemmywong512@gmail.com \
    --cc=juri.lelli@redhat.com \
    --cc=kprateek.nayak@amd.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mgorman@suse.de \
    --cc=mingo@redhat.com \
    --cc=peterz@infradead.org \
    --cc=rostedt@goodmis.org \
    --cc=tim.c.chen@linux.intel.com \
    --cc=vincent.guittot@linaro.org \
    --cc=vschneid@redhat.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

all inboxes | Powered by JetHome®