Thread (47 messages) 47 messages, 8 authors, 2005-08-22

Re: [PATCH] Use deltas to replace atomic inc

From: Andi Kleen <hidden>
Date: 2005-08-22 15:43:00

On Mon, Aug 22, 2005 at 08:24:50AM -0700, Christoph Lameter wrote:
On Mon, 22 Aug 2005, Hugh Dickins wrote:
quoted
(Your deltas seem sensible, but hard to place the reaccumulation:
I worry that you may be taking page_table_lock more just for that.)
The page_table_lock is taken using a spin_trylock. Its skipped if 
contended.
Hmm - doesn't try lock cause a cache line bounce on the bus too? 
I think it does. That would mean its latency is not much better 
than a real spinlock (assuming it doesn't have to spin) 

-Andi
--
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/ .
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