Re: [BUGFIX][PATCH] fix sync_mm_rss in nommu (Was Re: sync_mm_rss() issues

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

 



On Mon, Mar 8, 2010 at 19:58, KAMEZAWA Hiroyuki wrote:
> David-san, could you check this ?
> ==
> From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx>
>
> Fix breakage in NOMMU build
>
> commit 34e55232e59f7b19050267a05ff1226e5cd122a5 added sync_mm_rss()
> for syncing loosely accounted rss counters. It's for CONFIG_MMU but
> sync_mm_rss is called even in NOMMU enviroment (kerne/exit.c, fs/exec.c).
> Above commit doesn't handle it well.
>
> This patch changes
>  SPLIT_RSS_COUNTING depends on SPLIT_PTLOCKS && CONFIG_MMU
>
> And for avoid unnecessary function calls, sync_mm_rss changed to be inlined
> noop function in header file.

fixes Blackfin systems ...

Signed-off-by: Mike Frysinger <vapier@xxxxxxxxxx>
-mike

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

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