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

Re: [PATCH] memcg: remove unneeded preempt_disable

From: Christoph Lameter <hidden>
Date: 2011-08-25 15:11:56
Also in: linux-mm, lkml

On Thu, 25 Aug 2011, Peter Zijlstra wrote:
On Thu, 2011-08-18 at 14:40 -0700, Andrew Morton wrote:
quoted
I think I'll apply it, as the call frequency is low (correct?) and the
problem will correct itself as other architectures implement their
atomic this_cpu_foo() operations.
Which leads me to wonder, can anything but x86 implement that this_cpu_*
muck? I doubt any of the risk chips can actually do all this.
Maybe Itanic, but then that seems to be dying fast.
The cpu needs to have an RMW instruction that does something to a
variable relative to a register that points to the per cpu base.

Thats generally possible. The problem is how expensive the RMW is going to
be.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help