Re: [PATCH 07/11] memory hotplug: sysfs and add/remove functions

2005-09-02 Thread Dave Hansen
On Fri, 2005-09-02 at 15:13 -0700, Andrew Morton wrote: > Dave Hansen <[EMAIL PROTECTED]> wrote: > > > > + for (i = 0; i < PAGES_PER_SECTION; i++) { > > + if (PageReserved(first_page+i)) > > + continue; > > How intimate do these patches get wit

Re: [PATCH 07/11] memory hotplug: sysfs and add/remove functions

2005-09-02 Thread Andrew Morton
Dave Hansen <[EMAIL PROTECTED]> wrote: > > + for (i = 0; i < PAGES_PER_SECTION; i++) { > + if (PageReserved(first_page+i)) > + continue; How intimate do these patches get with PageReserved()? Bear in mind that we're slowly working toward

[PATCH 07/11] memory hotplug: sysfs and add/remove functions

2005-09-02 Thread Dave Hansen
This adds generic memory add/remove and supporting functions for memory hotplug into a new file as well as a memory hotplug kernel config option. Individual architecture patches will follow. For now, disable memory hotplug when swsusp is enabled. There's a lot of churn there right now. We'll