linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* zoned VM stats: nr_slab is accurate, fix comment
@ 2006-06-09 18:26 Christoph Lameter
  2006-06-09 22:44 ` Con Kolivas
  0 siblings, 1 reply; 2+ messages in thread
From: Christoph Lameter @ 2006-06-09 18:26 UTC (permalink / raw)
  To: akpm; +Cc: linux-mm, Con Kolivas, npiggin

nr_slab is accurate with the zoned VM stats. Remove the comment
that states otherwise in swap_prefetch.c

Signed-off-by: Christoph Lameter <clameter@sgi.com>

Index: linux-2.6.17-rc6-mm1/mm/swap_prefetch.c
===================================================================
--- linux-2.6.17-rc6-mm1.orig/mm/swap_prefetch.c	2006-06-09 10:30:52.363683655 -0700
+++ linux-2.6.17-rc6-mm1/mm/swap_prefetch.c	2006-06-09 11:17:22.126406920 -0700
@@ -386,10 +386,6 @@ static int prefetch_suitable(void)
 		/*
 		 * >2/3 of the ram on this node is mapped, slab, swapcache or
 		 * dirty, we need to leave some free for pagecache.
-		 * Note that currently nr_slab is innacurate on numa because
-		 * nr_slab is incremented on the node doing the accounting
-		 * even if the slab is being allocated on a remote node. This
-		 * would be expensive to fix and not of great significance.
 		 */
 		limit = global_page_state(NR_MAPPED) +
 			global_page_state(NR_SLAB) +

--
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] 2+ messages in thread

end of thread, other threads:[~2006-06-09 22:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-09 18:26 zoned VM stats: nr_slab is accurate, fix comment Christoph Lameter
2006-06-09 22:44 ` Con Kolivas

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