when to mark reserved low memory pages
John Rose
johnrose at austin.ibm.com
Tue Sep 28 08:34:37 EST 2004
Hi Linda-
You might consider posting your patch to the external list, in response
to ben's note here, like you did in the bug text. I haven't had much
luck getting responses from Paul or Anton lately :(
Just a thought..
Thanks-
John
On Mon, 2004-09-27 at 17:27, Benjamin Herrenschmidt wrote:
> On Tue, 2004-09-28 at 01:11, John Rose wrote:
> > On Fri, 2004-09-24 at 21:15, Benjamin Herrenschmidt wrote:
> > > Why ? because they get freed when you mmap them and later quit the
> > > userland process ? In this case, the option of marking them reserved
> > > might lead to an ever increasing page count (or not), make very sure
> > > of that, as get_page() will increase count but free_page() will not
> > > decrease it for a reserved page.
> >
> > Ok retry :) If you were in a hypothetical situation where page count
> > wasn't the issue, and you specifically needed the pages marked reserved,
> > where would you do it?
>
> Some time right after mem_init() I suppose...
>
> > And how to handle the discontig case?
>
> Not too sure
>
> Ben.
>
>
>
More information about the Linuxppc64-dev
mailing list