From: Steven Rostedt <rostedt@goodmis.org>
To: Andrew Morton <akpm@osdl.org>
Cc: Linus Torvalds <torvalds@osdl.org>,
mingo@elte.hu, linux-kernel@vger.kernel.org,
linux-arch@vger.kernel.org, David Howells <dhowells@redhat.com>
Subject: [PATCH 00/02] remove set_wmb
Date: Fri, 14 Jul 2006 16:04:57 -0400 [thread overview]
Message-ID: <1152907497.27135.43.camel@localhost.localdomain> (raw)
In-Reply-To: <20060714105841.4490c0e2.akpm@osdl.org>
set_wmb(var, value) is not used anywhere in the kernel. And it doesn't
do anything special but shorten the typing of:
var = value;
wmb();
Which the above is much more readable, and thus set_wmb is just
something to confuse developers even more.
So this patch series removes set_wmb from the kernel. It's not
currently used in the kernel, and any out-of-kernel branch can easily
replace it. So there should be no harm in removing it.
The first patch removes it from Documentation/memory-barriers.txt and
the second patch does a sweep through all the architectures to get rid
of it. All archs do the above code except ia64 and sparc which do a
mb() instead. But regardless, it's still not used.
-- Steve
next parent reply other threads:[~2006-07-14 20:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1152882288.1883.30.camel@localhost.localdomain>
[not found] ` <Pine.LNX.4.64.0607140757080.5623@g5.osdl.org>
[not found] ` <Pine.LNX.4.64.0607141017520.5623@g5.osdl.org>
[not found] ` <1152898699.27135.20.camel@localhost.localdomain>
[not found] ` <Pine.LNX.4.64.0607141040550.5623@g5.osdl.org>
[not found] ` <20060714105841.4490c0e2.akpm@osdl.org>
2006-07-14 20:04 ` Steven Rostedt [this message]
2006-07-14 20:05 ` [PATCH 01/02] remove set_wmb - doc update Steven Rostedt
2006-07-15 2:22 ` Matthew Wilcox
2006-07-15 2:35 ` Steven Rostedt
2006-07-14 20:05 ` [PATCH 02/02] remove set_wmb - arch removal 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=1152907497.27135.43.camel@localhost.localdomain \
--to=rostedt@goodmis.org \
--cc=akpm@osdl.org \
--cc=dhowells@redhat.com \
--cc=linux-arch@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=torvalds@osdl.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