[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <4D4FDF050200007800030883@vpn.id2.novell.com>
Date: Mon, 07 Feb 2011 11:01:09 +0000
From: "Jan Beulich" <JBeulich@...ell.com>
To: <tj@...nel.org>, <cl@...ux.com>
Cc: <mingo@...e.hu>, <tglx@...utronix.de>,
<linux-kernel@...r.kernel.org>, <hpa@...or.com>
Subject: x86: mis-named percpu_xchg_op() after switch to cmpxchg?
Other than its name implies, with the switch to use cmpxchg instead of
xchg (commit 8270137a0d50507a5b40f880db636527045b8466) this
macro is no longer suitable for accessing anything that may be written
by other than the local CPU (i.e. anything but the various this_cpu
accessors). Shouldn't it therefore get renamed to eg this_cpu_xchg_op()?
Jan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists