linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* sync_mm_rss() issues
@ 2010-03-08 13:59 David Howells
  2010-03-08 23:50 ` KAMEZAWA Hiroyuki
  2010-03-09  0:58 ` [BUGFIX][PATCH] fix sync_mm_rss in nommu (Was " KAMEZAWA Hiroyuki
  0 siblings, 2 replies; 7+ messages in thread
From: David Howells @ 2010-03-08 13:59 UTC (permalink / raw)
  To: kamezawa.hiroyu, torvalds; +Cc: dhowells, linux-kernel, linux-mm


There are a couple of issues with sync_mm_rss(), as added by patch:

	commit 34e55232e59f7b19050267a05ff1226e5cd122a5
	Author: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
	Date:   Fri Mar 5 13:41:40 2010 -0800
	Subject: mm: avoid false sharing of mm_counter

 (1) You haven't implemented it for NOMMU mode.  What's the right way to do
     this?  Just give an empty function?

 (2) linux/mm.h should carry the empty function as an inline when
     CONFIG_SPLIT_RSS_COUNTING=n, rather than it being defined as an empty
     function in mm/memory.c.

David

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

end of thread, other threads:[~2010-03-09 15:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-08 13:59 sync_mm_rss() issues David Howells
2010-03-08 23:50 ` KAMEZAWA Hiroyuki
2010-03-09  0:58 ` [BUGFIX][PATCH] fix sync_mm_rss in nommu (Was " KAMEZAWA Hiroyuki
2010-03-09  2:33   ` Mike Frysinger
2010-03-09 11:49     ` Michal Simek
2010-03-09 15:41       ` Christoph Lameter
2010-03-09 15:43         ` Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).