Re: [PATCH-RESEND v4] memory-hotplug: create /sys/firmware/memmapentry for new memory

From: Andrew Morton
Date: Fri Jan 15 2010 - 17:39:12 EST

On Mon, 11 Jan 2010 10:00:11 +0800
"Zheng, Shaohui" <shaohui.zheng@xxxxxxxxx> wrote:

> memory-hotplug: create /sys/firmware/memmap entry for hot-added memory
> Interface firmware_map_add was not called in explict, Remove it and add function
> firmware_map_add_hotplug as hotplug interface of memmap.
> When we hot-add new memory, sysfs does not export memmap entry for it. we add
> a call in function add_memory to function firmware_map_add_hotplug.
> Add a new function add_sysfs_fw_map_entry to create memmap entry, it can avoid
> duplicated codes.

The patch causes an early exception in kmem_cache_alloc_notrace() -
probably due to a null cache pointer.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at