Messages in this thread | | | Date | Fri, 5 Sep 2008 20:54:55 +0200 | From | Andi Kleen <> | Subject | Re: [PATCH] [RESEND] x86_64: add memory hotremove config option |
| |
> At this time we are interested on node remove (on x86_64). > It doesn't really work well at this time -
That's a quite euphemistic way to put it.
> due to some of the structures
That means you can never put any slab data on specific nodes. And all the kernel subsystems on that node will not ever get local memory. How are you going to solve that? And if you disallow kernel allocations in so large memory areas you get many of the highmem issues that plagued 32bit back in the 64bit kernel.
There are lots of other issues. It's quite questionable if this whole exercise makes sense at all.
> (BTW, on ppc64 this works fine - since we are interested mostly in > removing *some* sections of memory to give it back to hypervisor - > not entire node removal).
Ok for hypervisors you can do it reasonably easy on x86 too, but it's likely that some hypercall interface is better than going through sysfs.
-Andi
| |