lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 8 Mar 2010 21:33:22 -0500
From:	Mike Frysinger <vapier.adi@...il.com>
To:	KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>
Cc:	David Howells <dhowells@...hat.com>, torvalds@...l.org,
	linux-kernel@...r.kernel.org, linux-mm@...ck.org
Subject: Re: [BUGFIX][PATCH] fix sync_mm_rss in nommu (Was Re: sync_mm_rss() 
	issues

On Mon, Mar 8, 2010 at 19:58, KAMEZAWA Hiroyuki wrote:
> David-san, could you check this ?
> ==
> From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>
>
> 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@...too.org>
-mike
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ