From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx194.postini.com [74.125.245.194]) by kanga.kvack.org (Postfix) with SMTP id 121116B0032 for ; Sat, 27 Apr 2013 02:21:00 -0400 (EDT) Received: by mail-oa0-f67.google.com with SMTP id o17so1103983oag.10 for ; Fri, 26 Apr 2013 23:21:00 -0700 (PDT) Message-ID: <517B6E46.30209@gmail.com> Date: Sat, 27 Apr 2013 14:20:54 +0800 From: Mtrr Patt MIME-Version: 1.0 Subject: Re: Better active/inactive list balancing References: <517B6DF5.70402@gmail.com> In-Reply-To: <517B6DF5.70402@gmail.com> Content-Type: multipart/alternative; boundary="------------070705000208000807020303" Sender: owner-linux-mm@kvack.org List-ID: To: Johannes Weiner Cc: Rik van Riel , Dave Hansen , Michal Hocko , Mel Gorman , linux-mm@kvack.org This is a multi-part message in MIME format. --------------070705000208000807020303 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc linux-mm On 04/27/2013 02:19 PM, Mtrr Patt wrote: > Hi Johannes, > > http://lwn.net/Articles/495543/ > > This link said that "When active pages are considered for eviction, > they are first moved to the inactive list and unmapped from the > address space of the process(es) using them. Thus, once a page moves > to the inactive list, any attempt to reference it will generate a page > fault; this "soft fault" will cause the page to be removed back to the > active list." > > Why I can't find the codes unmap during page moved from active list to > inactive list? > > > --------------070705000208000807020303 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
cc linux-mm

On 04/27/2013 02:19 PM, Mtrr Patt wrote:
Hi Johannes,

http://lwn.net/Articles/495543/

This link said that "When active pages are considered for eviction, they are first moved to the inactive list and unmapped from the address space of the process(es) using them. Thus, once a page moves to the inactive list, any attempt to reference it will generate a page fault; this "soft fault" will cause the page to be removed back to the active list."

Why I can't find the codes unmap during page moved from active list to inactive list?
 



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