mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Arjan van de Ven <arjan@infradead.org>
Cc: joe.korty@ccur.com, Christoph Hellwig <hch@infradead.org>,
	akpm@osdl.org, linux-kernel@vger.kernel.org
Subject: Re: Define __raw_read_lock etc for uniprocessor builds
Date: Tue, 24 Jan 2006 22:05:48 +0100	[thread overview]
Message-ID: <20060124210548.GA22294@elte.hu> (raw)
In-Reply-To: <1138128156.2977.73.camel@laptopd505.fenrus.org>


* Arjan van de Ven <arjan@infradead.org> wrote:

> > 2) The _raw versions are intended to be used in places where it is
> > known that preemption is already disabled, so that the overhead of
> > re-disabling/enabling it can be avoided.
> 
> that's not true either. If it was, then the name would have been 
> different.

indeed. The __raw versions are _not_ to be used by anything else but the 
generic spinlock code. (There's one other stray use by PARISC, but that 
is justified.)

[ the -rt tree makes use of 'raw_' spinlocks, but they are totally
  different things. ]

	Ingo

  parent reply	other threads:[~2006-01-24 21:05 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-24 18:09 Joe Korty
2006-01-24 18:17 ` Christoph Hellwig
2006-01-24 18:29   ` Joe Korty
2006-01-24 18:32     ` Arjan van de Ven
2006-01-24 18:38       ` Joe Korty
2006-01-24 18:42         ` Arjan van de Ven
2006-01-24 18:59           ` Joe Korty
2006-01-24 21:05           ` Ingo Molnar [this message]
2006-01-24 21:12 ` Ingo Molnar

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=20060124210548.GA22294@elte.hu \
    --to=mingo@elte.hu \
    --cc=akpm@osdl.org \
    --cc=arjan@infradead.org \
    --cc=hch@infradead.org \
    --cc=joe.korty@ccur.com \
    --cc=linux-kernel@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®