android_kernel_xiaomi_sm8350/drivers/base
Yasunori Goto 7b78d335ac memory hotplug: rearrange memory hotplug notifier
Current memory notifier has some defects yet.  (Fortunately, nothing uses
it.) This patch is to fix and rearrange for them.

  - Add information of start_pfn, nr_pages, and node id if node status is
    changes from/to memoryless node for callback functions.
    Callbacks can't do anything without those information.
  - Add notification going-online status.
    It is necessary for creating per node structure before the node's
    pages are available.
  - Move GOING_OFFLINE status notification after page isolation.
    It is good place for return memory like cache for callback,
    because returned page is not used again.
  - Make CANCEL events for rollingback when error occurs.
  - Delete MEM_MAPPING_INVALID notification. It will be not used.
  - Fix compile error of (un)register_memory_notifier().

Signed-off-by: Yasunori Goto <y-goto@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-10-22 08:13:17 -07:00
..
power pm_trace displays the wrong time from the RTC 2007-10-18 14:37:19 -07:00
attribute_container.c
base.h Driver core: remove get_bus() 2007-10-12 14:51:02 -07:00
bus.c Driver core: rename ktype_driver 2007-10-12 14:51:12 -07:00
class.c Driver core: rename ktype_class 2007-10-12 14:51:11 -07:00
core.c Driver core: rename ktype_device 2007-10-12 14:51:12 -07:00
cpu.c CPU online file permission 2007-07-31 15:39:39 -07:00
dd.c
devres.c Driver core: fix devres_release_all() return value 2007-07-11 16:09:02 -07:00
dma-mapping.c
dmapool.c sparse pointer use of zero as null 2007-10-18 14:37:31 -07:00
driver.c
firmware_class.c Fix Firmware class name collision 2007-10-12 14:51:06 -07:00
firmware.c
hypervisor.c
init.c
isa.c
Kconfig Driver core: add CONFIG_UEVENT_HELPER_PATH 2007-10-12 14:51:01 -07:00
Makefile
map.c
memory.c memory hotplug: rearrange memory hotplug notifier 2007-10-22 08:13:17 -07:00
node.c mm: add node states sysfs class attributeS 2007-10-16 09:43:03 -07:00
platform.c Driver core: Make platform_device.id an int 2007-10-12 14:51:07 -07:00
sys.c sysdev: remove global sysdev drivers list 2007-10-12 14:51:07 -07:00
topology.c cpu hotplug: topology: remove topology_dev_map 2007-10-18 14:37:21 -07:00
transport_class.c