public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@goodmis.org>
To: Christoph Lameter <cl@linux.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
	LKML <linux-kernel@vger.kernel.org>,
	Ingo Molnar <mingo@kernel.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	stable <stable@vger.kernel.org>,
	Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de>
Subject: Re: [GIT PULL] ring-buffer: Replace this_cpu_*() with __this_cpu_*()
Date: Tue, 19 May 2015 11:42:01 -0400	[thread overview]
Message-ID: <20150519114201.39c19d61@gandalf.local.home> (raw)
In-Reply-To: <alpine.DEB.2.11.1505191033540.27965@gentwo.org>

On Tue, 19 May 2015 10:35:32 -0500 (CDT)
Christoph Lameter <cl@linux.com> wrote:

> On Thu, 19 Mar 2015, Steven Rostedt wrote:
> 
> > On Thu, 19 Mar 2015 15:16:25 -0700
> > Linus Torvalds <torvalds@linux-foundation.org> wrote:
> >
> > > So I don't think the ring-buffer change is necessarily _wrong_, but if
> > > this is a performance issue, why don't we just fix it up for the
> > > generic case rather than for just one user?
> >
> > I totally agree with your analysis, but it's up to Christoph to come up
> > with an answer to your questions.
> 
> Something beyond: Do not use this_cpu_* when preemption is already
> off but use __this_cpu_*?

I think the question was, why exactly does the generic this_cpu_read()
require disabling preemption? What breaks if it is not disabled?

-- Steve

  reply	other threads:[~2015-05-19 15:42 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-19 22:02 [GIT PULL] ring-buffer: Replace this_cpu_*() with __this_cpu_*() Steven Rostedt
2015-03-19 22:16 ` Linus Torvalds
2015-03-19 22:34   ` Steven Rostedt
2015-03-19 22:42     ` Steven Rostedt
2015-05-19 15:35     ` Christoph Lameter
2015-05-19 15:42       ` Steven Rostedt [this message]
2015-05-19 16:20         ` Christoph Lameter
2015-03-23 17:48   ` Steven Rostedt
2015-03-24 18:47     ` Christoph Lameter
2015-03-24 19:37       ` Christoph Lameter
2015-05-18 19:50   ` Linus Torvalds
2015-05-18 20:40     ` Steven Rostedt
2015-03-20  7:26 ` Uwe Kleine-König
2015-03-20 11:55   ` Steven Rostedt

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=20150519114201.39c19d61@gandalf.local.home \
    --to=rostedt@goodmis.org \
    --cc=akpm@linux-foundation.org \
    --cc=cl@linux.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@kernel.org \
    --cc=stable@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    --cc=u.kleine-koenig@pengutronix.de \
    /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