From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750777AbWCVFh4 (ORCPT ); Wed, 22 Mar 2006 00:37:56 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750779AbWCVFh4 (ORCPT ); Wed, 22 Mar 2006 00:37:56 -0500 Received: from uproxy.gmail.com ([66.249.92.207]:17717 "EHLO uproxy.gmail.com") by vger.kernel.org with ESMTP id S1750777AbWCVFh4 convert rfc822-to-8bit (ORCPT ); Wed, 22 Mar 2006 00:37:56 -0500 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=fOLapg0uyBWbmj3xbw6otRAGDKaQn5ITq6Hv+9cxmDrxBxKXo/O52FAxfVgh+oQ55h2RfIX9KZI9Yim7S1k+H7yTMefrlM+3uGOe+GSw5x2YDEXItZtpHdk4T13u9WT+qSonkMjV13G7dBIAZm/l6Hjsa7fCOPc2SHf9MG0O+yM= Message-ID: Date: Wed, 22 Mar 2006 00:37:54 -0500 From: "Stone Wang" To: "Nick Piggin" Subject: Re: [PATCH][5/8] proc: export mlocked pages info through "/proc/meminfo: Wired" Cc: akpm@osdl.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org In-Reply-To: <442098B6.5000607@yahoo.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Content-Disposition: inline References: <441FEFC7.5030109@yahoo.com.au> <442098B6.5000607@yahoo.com.au> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org The name "Wired" could be changed to which one most kids think better fits the job. I choosed "Wired" for: "Locked" will conflict with PG_locked bit of a pags. "Pinned" indicates a short-term lock,so not fits the job too. Shaoping Wang 2006/3/21, Nick Piggin : > Stone Wang wrote: > > The list potentially could have more wider use. > > > > For example, kernel-space locked/pinned pages could be placed on the list too > > (while mlocked pages are locked/pinned by system calls from user-space). > > > > kernel-space pages are always pinned. And no, you can't put them on the list > because you never know if their ->lru field is going to be used for something > else. > > Why would you want to ever do something like that though? I don't think you > should use this name "just in case", unless you have some really good > potential usage in mind. > > --- > SUSE Labs, Novell Inc. > Send instant messages to your online friends http://au.messenger.yahoo.com > >