Re: [PATCH][5/8] proc: export mlocked pages info through "/proc/meminfo:Wired"

From: Nick Piggin
Date: Fri Mar 24 2006 - 14:28:46 EST


Rik van Riel wrote:
On Sat, 25 Mar 2006, Nick Piggin wrote:

Rik van Riel wrote:

On Wed, 22 Mar 2006, Nick Piggin wrote:


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.

ramfs

Why would ramfs want its pages in this wired list? (I'm not so
familiar with it but I can't think of a reason).


Because ramfs pages cannot be paged out, which makes them locked
into memory the same way mlocked pages are.


I don't understand why they need to be on any list though,
that isn't an internal ramfs specific structure (ie. not
the just-in-case wired list).

--
SUSE Labs, Novell Inc.
Send instant messages to your online friends http://au.messenger.yahoo.com -
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/