mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@goodmis.org>
To: Wenwu Hou <hwenwur@gmail.com>
Cc: Frederic Weisbecker <frederic@kernel.org>,
	mhiramat@kernel.org, mathieu.desnoyers@efficios.com,
	linux-trace-kernel@vger.kernel.org, linux-kernel@vger.kernel.org,
	stable@vger.kernel.org
Subject: Re: [PATCH v2] tracing/hwlat: Bind the sampler kthread instead of setting its affinity
Date: Fri, 27 Nov 2026 11:00:37 -0500	[thread overview]
Message-ID: <20261127110037.6ab35dae@gandalf.local.home> (raw)
In-Reply-To: <awf4-hjPFkBxPUev@gmail.com>

On Thu, 26 Nov 2026 17:16:42 +0800
Wenwu Hou <hwenwur@gmail.com> wrote:

> > 
> > Right, the affinity should only be changed by the kernel if tracing_cpumask is
> > written. Otherwise it doesn't seem to make sense to let the user play with the
> > affinity.  
> 
> I agree. Perhaps v1 is better.

A version of it. It needs to remove and prevent user space from modifying
the tasks affinity.

-- Steve

      reply	other threads:[~2026-11-27 16:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-25  8:46 Wenwu Hou
2026-11-25 13:37 ` Frederic Weisbecker
2026-11-25 15:38   ` Steven Rostedt
2026-11-25 16:24     ` Frederic Weisbecker
2026-11-26  9:16       ` Wenwu Hou
2026-11-27 16:00         ` Steven Rostedt [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=20261127110037.6ab35dae@gandalf.local.home \
    --to=rostedt@goodmis.org \
    --cc=frederic@kernel.org \
    --cc=hwenwur@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-trace-kernel@vger.kernel.org \
    --cc=mathieu.desnoyers@efficios.com \
    --cc=mhiramat@kernel.org \
    --cc=stable@vger.kernel.org \
    /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®