[PATCH 0 of 4] [RFC] hotplug memory: minor updates

From: Jeremy Fitzhardinge
Date: Thu Mar 27 2008 - 21:09:31 EST


Hi all,

Here's a small set of patches for memory hotplug which I needed to get
the Xen balloon driver working.

1. add add_memory_resource(), which allow a caller to provide the
resource structure for memory being added,
2. add warnings when you try to add non-section-aligned and sized memory
since it has undesireable results when you do so, and
3. decrease the i386 PAE section size to 2^29 (=512MB), since 1G is a
bit too large for virtual memory ballooning
(4. don't steal all memory in paravirt_disable_iospace)

Still unresolved is how to prevent the user from onlining balloon
memory via sysfs, since that will almost certainly cause the kernel to
crash.

Thanks,
J


--
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/