Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756146Ab2FNNoS (ORCPT ); Thu, 14 Jun 2012 09:44:18 -0400 Received: from mail-vb0-f46.google.com ([209.85.212.46]:62114 "EHLO mail-vb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755992Ab2FNNoQ (ORCPT ); Thu, 14 Jun 2012 09:44:16 -0400 Message-ID: <4FD9EAAC.1060100@gmail.com> Date: Thu, 14 Jun 2012 09:44:12 -0400 From: KOSAKI Motohiro User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: Wanpeng Li CC: linux-mm@kvack.org, Andrew Morton , KAMEZAWA Hiroyuki , Mel Gorman , Minchan Kim , Hugh Dickins , linux-kernel@vger.kernel.org, trivial@kernel.org, Gavin Shan , kosaki.motohiro@gmail.com Subject: Re: [PATCH] mm: complement page reclaim comment References: <1339680158-26657-1-git-send-email-liwp.linux@gmail.com> In-Reply-To: <1339680158-26657-1-git-send-email-liwp.linux@gmail.com> Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 974 Lines: 30 (6/14/12 9:22 AM), Wanpeng Li wrote: > From: Wanpeng Li > > Signed-off-by: Wanpeng Li > --- > mm/vmscan.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/mm/vmscan.c b/mm/vmscan.c > index ed823df..603c96f 100644 > --- a/mm/vmscan.c > +++ b/mm/vmscan.c > @@ -3203,6 +3203,7 @@ int zone_reclaim(struct zone *zone, gfp_t gfp_mask, unsigned int order) > * Reasons page might not be evictable: > * (1) page's mapping marked unevictable > * (2) page is part of an mlocked VMA > + * (3) page mapped into SHM_LOCK'd shared memory regions This is one of "marked unevictable". > * > */ > int page_evictable(struct page *page, struct vm_area_struct *vma) -- 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/