Re: sync_mm_rss() issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 08 Mar 2010 13:59:56 +0000
David Howells <dhowells@xxxxxxxxxx> wrote:

> 
> There are a couple of issues with sync_mm_rss(), as added by patch:
> 
> 	commit 34e55232e59f7b19050267a05ff1226e5cd122a5
> 	Author: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx>
> 	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?
> 
Ah, sorry. I'll prepare empty function immediately. But I have no NOMMU
enviroment...


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

ok.

please wait..

Sorry,
-Kame

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxxx  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]