Skip to content

Memory hotplug for new nodes with pgdat allocation.

Yasunori Goto linux-ia64 lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 16 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10Memory hotplug for new nodes with pgdat allocation. (pgdat allocation)include/linux/bootmem.h include/linux/memory_hotplug.h mm/memory_hotplug.c +2 more+74 -77 replies
2/10Memory hotplug for new nodes with pgdat allocation. (Wait table and zonelists initalization)include/linux/mmzone.h mm/memory_hotplug.c mm/page_alloc.c+69 -68 replies
3/10Memory hotplug for new nodes with pgdat allocation. (pgdat alloc caller for ia64)arch/ia64/mm/init.c+20 -30 replies
4/10Memory hotplug for new nodes with pgdat allocation. (pgdat alloc caller for x86_64)arch/x86_64/mm/init.c+21 -31 reply
5/10Memory hotplug for new nodes with pgdat allocation. (create sysfs for node (ia64))arch/ia64/kernel/topology.c include/asm-ia64/numa.h+18 -00 replies
6/10Memory hotplug for new nodes with pgdat allocation. (NODE_DATA array initalize for ia64).arch/ia64/mm/discontig.c+19 -30 replies
7/10Memory hotplug for new nodes with pgdat allocation. (pgdat link insert)arch/ia64/mm/discontig.c arch/ia64/mm/init.c+4 -10 replies
8/10Memory hotplug for new nodes with pgdat allocation. (find node id via ACPI's dsdt)drivers/acpi/acpi_memhotplug.c drivers/acpi/numa.c include/linux/acpi.h+108 -00 replies
9/10Memory hotplug for new nodes with pgdat allocation.(Register start func for acpi_memhotplug)drivers/acpi/acpi_memhotplug.c+22 -00 replies
10/10Memory hotplug for new nodes with pgdat allocation.(allow -EEXIST of add_memory)drivers/acpi/acpi_memhotplug.c+12 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC/PATCH: 000/010] Memory hotplug for new nodes with pgdat allocation.

Hello.

I'll post newest patches for memory hotadd.
In this this patch, pgdat is allocated when new node is comming. To initialize pgdat and zones, a set of patches are necessary.
- to allcate and initialize pgdat, zone, zonelist.
- to initialize node_data[] array (ia64)
- to register sysfs file for new node.
- to call memory_hotplug code from acpi container driver.

Note:
- kmalloc is used for pgdat allocation in this version.
So, even if pgdat is allocated, it will be allocated on the other node. This is only to simplify patches a bit. :-P
- register sysfs file for new node is just for ia64.
I hacked quickly for x86_64, but x86_64 doesn't use sysfs file for node. So, I gave up at least this week.....

This patches are for 2.6.16-rc2-mm1.

Please comment.

Thanks.

Signature · 1 line
Yasunori Goto