All of lore.kernel.org
 help / color / mirror / Atom feed
* sync_mm_rss() issues
@ 2010-03-08 13:59 ` David Howells
  0 siblings, 0 replies; 14+ 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

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

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

Thread overview: 14+ 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 13:59 ` David Howells
2010-03-08 23:50 ` KAMEZAWA Hiroyuki
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  0:58   ` KAMEZAWA Hiroyuki
2010-03-09  2:33   ` Mike Frysinger
2010-03-09  2:33     ` Mike Frysinger
2010-03-09 11:49     ` Michal Simek
2010-03-09 11:49       ` Michal Simek
2010-03-09 15:41       ` Christoph Lameter
2010-03-09 15:41         ` Christoph Lameter
2010-03-09 15:43         ` Mike Frysinger
2010-03-09 15:43           ` Mike Frysinger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.