Messages in this thread | | | Date | Thu, 08 Apr 2004 19:19:04 +0900 | From | IWAMOTO Toshihiro <> | Subject | Re: [Lhms-devel] Re: [patch 0/3] memory hotplug prototype |
| |
At Thu, 08 Apr 2004 18:16:10 +0900, IWAMOTO Toshihiro wrote: > > At Wed, 07 Apr 2004 11:12:55 -0700, > Martin J. Bligh <mbligh@aracnet.com> wrote: > > > > > This is an updated version of memory hotplug prototype patch, which I > > > have posted here several times. > > > > I really, really suggest you take a look at Dave McCracken's work, which > > he posted as "Basic nonlinear for x86" recently. It's going to be much > > much easier to use this abstraction than creating 1000s of zones ... > > Well, I think his patch is orthogonal to mine. My ultimate target > is IA64 and it will only support node-sized memory hotplugging. > > If you need fine-grained memory resizing, that shouldn't be hard to > do. As others have pointed out, per section hotremovable is not as > easy as per zone one, but we've done a similar thing for hugetlbfs > support. Look for PG_again in Takahashi's patch.
Err, s/PG_again/PG_booked/ Pages with PG_booked bit set are skipped in alloc_pages. Alternatively, when such pages are freed, they can be linked to another list than free_list to avoid being used again, but buddy bits handling would be a bit tricky in this case.
-- IWAMOTO Toshihiro
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |