android_kernel_xiaomi_sm8350/arch/ia64/mm
Yasunori Goto dd8041f16b [PATCH] Fix copying of pgdat array on each node for ia64 memory hotplug
I found a bug in memory hot-add code for ia64.

IA64's code has copies of pgdat's array on each node to reduce memory
access over crossing node.  This array is used by NODE_DATA() macro.  When
new node is hot-added, this pgdat's array should be updated and copied on
new node too.

However, I used for_each_online_node() in scatter_node_data() to copy
it. This meant its array is not copied on new node.
Because initialization of structures for new node was halfway,
so online_node_map couldn't be set at this time.

To copy arrays on new node, I changed it to check value of pgdat_list[]
which is source array of copies.  I tested this patch with my Memory Hotadd
emulation on Tiger4.  This patch is for 2.6.17-git20.

Signed-off-by: Yasunori Goto <y-goto@jp.fujitsu.com>
Cc: "Luck, Tony" <tony.luck@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-07-04 10:24:57 -07:00
..
contig.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
discontig.c [PATCH] Fix copying of pgdat array on each node for ia64 memory hotplug 2006-07-04 10:24:57 -07:00
extable.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
fault.c [PATCH] Notify page fault call chain for ia64 2006-06-26 09:58:22 -07:00
hugetlbpage.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
init.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ioremap.c [IA64] rework memory attribute aliasing 2006-05-08 16:32:05 -07:00
Makefile
numa.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
tlb.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00