From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762770AbZEGOBe (ORCPT ); Thu, 7 May 2009 10:01:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1762337AbZEGN6y (ORCPT ); Thu, 7 May 2009 09:58:54 -0400 Received: from smtp3.ultrahosting.com ([74.213.175.254]:52799 "EHLO smtp.ultrahosting.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1762426AbZEGN6x (ORCPT ); Thu, 7 May 2009 09:58:53 -0400 X-Greylist: delayed 488 seconds by postgrey-1.27 at vger.kernel.org; Thu, 07 May 2009 09:58:53 EDT Date: Thu, 7 May 2009 09:39:30 -0400 (EDT) From: Christoph Lameter X-X-Sender: cl@qirst.com To: Wu Fengguang cc: Andrew Morton , Peter Zijlstra , Rik van Riel , "linux-kernel@vger.kernel.org" , "tytso@mit.edu" , "linux-mm@kvack.org" , Elladan , Nick Piggin , Johannes Weiner , KOSAKI Motohiro Subject: Re: [PATCH -mm] vmscan: make mapped executable pages the first class citizen In-Reply-To: <20090507121101.GB20934@localhost> Message-ID: References: <20090430072057.GA4663@eskimo.com> <20090430174536.d0f438dd.akpm@linux-foundation.org> <20090430205936.0f8b29fc@riellaptop.surriel.com> <20090430181340.6f07421d.akpm@linux-foundation.org> <20090430215034.4748e615@riellaptop.surriel.com> <20090430195439.e02edc26.akpm@linux-foundation.org> <49FB01C1.6050204@redhat.com> <20090501123541.7983a8ae.akpm@linux-foundation.org> <20090503031539.GC5702@localhost> <1241432635.7620.4732.camel@twins> <20090507121101.GB20934@localhost> User-Agent: Alpine 1.10 (DEB 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 7 May 2009, Wu Fengguang wrote: > Introduce AS_EXEC to mark executables and their linked libraries, and to > protect their referenced active pages from being deactivated. We already have support for mlock(). How is this an improvement? This is worse since the AS_EXEC pages stay on the active list and are continually rescanned.