linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* ZERO_PAGE refcounting causes cache line bouncing
@ 2007-03-16 22:17 Christoph Lameter
  2007-03-17  4:35 ` William Lee Irwin III
  0 siblings, 1 reply; 13+ messages in thread
From: Christoph Lameter @ 2007-03-16 22:17 UTC (permalink / raw)
  To: linux-mm

We have issues with ZERO_PAGE refcounting causing severe cacheline 
bouncing. ZERO_PAGES are mapped into multiple processes running on 
multiple nodes. Refcounter modifications therefore have to acquire a 
remote exclusive cacheline.

Could we somehow fix this? There are a couple of ways to do this:

1. No refcounting on reserved pages in the VM. ZERO_PAGEs are
   reserved and there is no point in refcounting them since they
   will not go away.

2. Having a percpu or pernode ZERO_PAGE?

   May be a simpler solution but then we still may have issues
   if the ZERO_PAGE gets "freed" from other processors/ nodes.

--
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>

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2007-03-20  2:53 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-16 22:17 ZERO_PAGE refcounting causes cache line bouncing Christoph Lameter
2007-03-17  4:35 ` William Lee Irwin III
2007-03-19  5:56   ` Nick Piggin
2007-03-19  6:24     ` Nick Piggin
2007-03-19  6:41       ` Nick Piggin
2007-03-19 10:04         ` Nick Piggin
2007-03-19 17:06       ` Christoph Lameter
2007-03-20  2:53         ` Nick Piggin
2007-03-19 12:03     ` Robin Holt
2007-03-20  2:35       ` Nick Piggin
2007-03-19 12:46     ` William Lee Irwin III
2007-03-20  2:34       ` Nick Piggin
2007-03-19 17:04     ` Christoph Lameter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox