From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760702AbZEHOZ5 (ORCPT ); Fri, 8 May 2009 10:25:57 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754483AbZEHOZr (ORCPT ); Fri, 8 May 2009 10:25:47 -0400 Received: from smtp3.ultrahosting.com ([74.213.175.254]:56046 "EHLO smtp.ultrahosting.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753762AbZEHOZr (ORCPT ); Fri, 8 May 2009 10:25:47 -0400 Date: Fri, 8 May 2009 10:25:26 -0400 (EDT) From: Christoph Lameter X-X-Sender: cl@qirst.com To: Minchan Kim cc: Wu Fengguang , Johannes Weiner , Andrew Morton , Peter Zijlstra , Rik van Riel , "linux-kernel@vger.kernel.org" , "tytso@mit.edu" , "linux-mm@kvack.org" , Elladan , Nick Piggin , KOSAKI Motohiro Subject: Re: [PATCH -mm] vmscan: make mapped executable pages the first class citizen In-Reply-To: <20090508183427.f313770f.minchan.kim@barrios-desktop> Message-ID: References: <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> <20090507151039.GA2413@cmpxchg.org> <20090508030209.GA8892@localhost> <20090508163042.ba4ef116.minchan.kim@barrios-desktop> <20090508080921.GA25411@localhost> <20090508183427.f313770f.minchan.kim@barrios-desktop> 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 Fri, 8 May 2009, Minchan Kim wrote: > > > Why did you said that "The page_referenced() path will only cover the ""_text_"" section" ? > > > Could you elaborate please ? > > > > I was under the wild assumption that only the _text_ section will be > > PROT_EXEC mapped. No? > > Yes. I support your idea. Why do PROT_EXEC mapped segments deserve special treatment? What about the other memory segments of the process? Essentials like stack, heap and data segments of the libraries?