Re: [PATCH] remove volatile from nmi.c



On Fri, 14 Jul 2006 10:41:58 -0700 (PDT)
Linus Torvalds <torvalds@xxxxxxxx> wrote:



On Fri, 14 Jul 2006, Steven Rostedt wrote:

endflag = 1;
smp_wmb();

This was what I originally wrote, and then I saw the set_wmb which made
me think that it was the proper way to do things (why else is it
there?). So if it shouldn't be used, then we should get rid of it or at
least mark it deprecated, otherwise you have people like me thinking
that we should use it.

Yeah, we should probably get rid of it. No need to even mark it
deprecated, since nobody uses it anyway.

At a minimum, I think we should not document it in the locking
documentation, making people incorrectly think it might be a good idea.

Hmm? Andrew?


It has no callers and can be trivially reimplemented by any out-of-tree
caller, so we should be able to remove it immediately.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: [PATCH] remove volatile from nmi.c
    ... On Fri, 14 Jul 2006, Steven Rostedt wrote: ... we should probably get rid of it. ... No need to even mark it ... More majordomo info at http://vger.kernel.org/majordomo-info.html ...
    (Linux-Kernel)
  • Re: Sonic activation module- agressive program??
    ... Mark L. Ferguson MS-MVP ... I don't know where it came from or how to get rid of it. ... If I go to the Task manager where it says its running and I click on END ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Sonic activation module- agressive program??
    ... Mark L. Ferguson MS-MVP ... I don't know where it came from or how to get rid of it. ... If I go to the Task manager where it says its running and I click on END ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: WMP auto-starting but NOT in my start-up menu
    ... Hey mark. ... > why on earth can I not simply rid my PC of WMP altogether?! ... >> evidence of this virus in my computer. ... >>> Windows Media Player does not and would not do this to you. ...
    (microsoft.public.windowsmedia.player)
  • Marking news message "mark all read "
    ... In OE6 newsgroups, I mark all messages as read and then ... find that I have to select "catch up " to get rid of some that ... but totaslly gettiong it back to having to downlaod all ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)