All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nick Piggin <nickpiggin@yahoo.com.au>
To: george@mvista.com
Cc: lkml <linux-kernel@vger.kernel.org>, Andrew Morton <akpm@osdl.org>
Subject: Re: [PATCH] eliminte NMI entry/ exit code
Date: Sat, 13 Aug 2005 10:56:40 +1000	[thread overview]
Message-ID: <42FD4548.3060204@yahoo.com.au> (raw)
In-Reply-To: <42FD42C1.6040009@mvista.com>

George Anzinger wrote:
> The NMI entry and exit code fiddles with bits in the preempt count.  If 
> an NMI happens while some other code is doing the same, bits will be 
> lost.  This patch removes this modify code from the NMI path till we can 
> come up with something better.
> 

Humour me for a minute here...
NMI restores preempt_count back to its old value upon exit, right?
So what does a race case look like?

Nick

-- 
SUSE Labs, Novell Inc.

Send instant messages to your online friends http://au.messenger.yahoo.com 

  reply	other threads:[~2005-08-13  0:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-13  0:45 [PATCH] eliminte NMI entry/ exit code George Anzinger
2005-08-13  0:56 ` Nick Piggin [this message]
2005-08-13  1:13   ` George Anzinger
2005-08-13  6:27     ` Zachary Amsden
2005-08-13 16:54       ` George Anzinger
2005-08-13  1:18 ` Linus Torvalds

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=42FD4548.3060204@yahoo.com.au \
    --to=nickpiggin@yahoo.com.au \
    --cc=akpm@osdl.org \
    --cc=george@mvista.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 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.