All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Love <rml@tech9.net>
To: Rusty Russell <rusty@rustcorp.com.au>
Cc: torvalds@transmeta.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] per-cpu patch 2/3
Date: 18 Jul 2002 10:05:26 -0700	[thread overview]
Message-ID: <1027011926.1086.118.camel@sinai> (raw)
In-Reply-To: <20020718042221.36D114479@lists.samba.org>

On Wed, 2002-07-17 at 20:48, Rusty Russell wrote:
> Given the ongoing races with smp_processor_id() and preempt, this
> makes sense to me.  this_cpu() was too generic a name anyway.

Very nice, although:

How do you reenable preemption?

We already have get_cpu() and put_cpu() which do pretty much what you
are suggesting (and put_cpu() enables preemption) and are used by code
today.  If you want to make changes to them, that is fine, but we should
keep the interface...

	Robert Love



  reply	other threads:[~2002-07-18 17:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-18  3:48 [PATCH] per-cpu patch 2/3 Rusty Russell
2002-07-18 17:05 ` Robert Love [this message]
2002-07-19  1:36   ` Rusty Russell
2002-07-19 17:49     ` Robert Love

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=1027011926.1086.118.camel@sinai \
    --to=rml@tech9.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rusty@rustcorp.com.au \
    --cc=torvalds@transmeta.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.