From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail190.messagelabs.com (mail190.messagelabs.com [216.82.249.51]) by kanga.kvack.org (Postfix) with SMTP id 988626B00C4 for ; Tue, 9 Mar 2010 06:49:24 -0500 (EST) Received: by bwz2 with SMTP id 2so3655938bwz.10 for ; Tue, 09 Mar 2010 03:49:22 -0800 (PST) Message-ID: <4B9635BE.6090001@petalogix.com> Date: Tue, 09 Mar 2010 12:49:18 +0100 From: Michal Simek Reply-To: michal.simek@petalogix.com MIME-Version: 1.0 Subject: Re: [BUGFIX][PATCH] fix sync_mm_rss in nommu (Was Re: sync_mm_rss() issues References: <30859.1268056796@redhat.com> <20100309095830.7d4a744d.kamezawa.hiroyu@jp.fujitsu.com> <8bd0f97a1003081833s2e8527d7pd1e0b427ae76020@mail.gmail.com> In-Reply-To: <8bd0f97a1003081833s2e8527d7pd1e0b427ae76020@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org To: Mike Frysinger Cc: KAMEZAWA Hiroyuki , David Howells , torvalds@osdl.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org List-ID: Mike Frysinger wrote: > On Mon, Mar 8, 2010 at 19:58, KAMEZAWA Hiroyuki wrote: >> David-san, could you check this ? >> == >> From: KAMEZAWA Hiroyuki >> >> 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 fixes Microblaze noMMU systems too. Signed-off-by: Michal Simek You can check Microblaze noMMU system via my site http://www.monstr.eu/wiki/doku.php?id=log:log Will be good to add your patches to linux-next before Linus tree. Michal > -mike > -- > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ -- Michal Simek, Ing. (M.Eng) PetaLogix - Linux Solutions for a Reconfigurable World w: www.petalogix.com p: +61-7-30090663,+42-0-721842854 f: +61-7-30090663 -- 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: email@kvack.org