Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754933Ab0K2Eaa (ORCPT ); Sun, 28 Nov 2010 23:30:30 -0500 Received: from mail-iw0-f174.google.com ([209.85.214.174]:57312 "EHLO mail-iw0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754763Ab0K2Ea3 (ORCPT ); Sun, 28 Nov 2010 23:30:29 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=mecIAbvmeqeyi7T7yeSYDTI7Uh8DmucOC/BiVviCIWjCQa3w7NB+lN+Hd7TMdhyUYW vBpUr5d/YyHBvkzgCtNQ9UtFL8NxkIRq0hm3iNXC88YcfvDq4sobumrLg3Mi2Gan8LmH iDYCMcBD1fY1h49+59lGVbeqoT5EQM9/qiYnI= MIME-Version: 1.0 In-Reply-To: <4CF32BD5.8050006@redhat.com> References: <7b50614882592047dfd96f6ca2bb2d0baa8f5367.1290956059.git.minchan.kim@gmail.com> <48315b5fe54efa08982aa7df77e8abe793889e3a.1290956059.git.minchan.kim@gmail.com> <4CF32BD5.8050006@redhat.com> Date: Mon, 29 Nov 2010 13:30:28 +0900 Message-ID: Subject: Re: [PATCH v2 3/3] Prevent promotion of page in madvise_dontneed From: Minchan Kim To: Rik van Riel Cc: Andrew Morton , linux-mm , LKML , Ben Gamari , KOSAKI Motohiro , Johannes Weiner , Nick Piggin , Mel Gorman , Wu Fengguang Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1211 Lines: 37 On Mon, Nov 29, 2010 at 1:28 PM, Rik van Riel wrote: > On 11/28/2010 10:02 AM, Minchan Kim wrote: >> >> Now zap_pte_range alwayas promotes pages which are pte_young&& >> !VM_SequentialReadHint(vma). But in case of calling MADV_DONTNEED, >> it's unnecessary since the page wouldn't use any more. >> >> If the page is sharred by other processes and it's real working set > > This line seems to be superfluous, I don't see any special > treatment for this case in the code. I should remove the lines. It's my fault. > >> Signed-off-by: Minchan Kim >> Cc: Rik van Riel >> Cc: KOSAKI Motohiro >> Cc: Johannes Weiner >> Cc: Nick Piggin >> Cc: Mel Gorman >> Cc: Wu Fengguang > > The patch itself looks good to me. > > Acked-by: Rik van Riel Thanks, Rik. -- Kind regards, Minchan Kim -- 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/