Thread (18 messages) 18 messages, 5 authors, 2011-08-25

Re: [PATCH] memcg: remove unneeded preempt_disable

From: James Bottomley <James.bottomley@HansenPartnership.com>
Date: 2011-08-25 18:34:44
Also in: linux-mm, lkml


Christoph Lameter [off-list ref] wrote:
On Thu, 25 Aug 2011, James Bottomley wrote:
quoted
quoted
ARM seems to have these LDREX/STREX instructions for that purpose
which
quoted
quoted
seem to be used for generating atomic instructions without lockes. I
guess
other RISC architectures have similar means of doing it?
Arm isn't really risc.  Most don't.  However even with ldrex/strex
you need two instructions for rmw.

Well then what is "really risc"? RISC is an old beaten down marketing
term
AFAICT and ARM claims it too.
Reduced Instruction Set Computer.  This is why we're unlikely to have complex atomic instructions: the principle of risc is that you build them up from basic ones.

James 
-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity and top posting.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help