memory_hotplug.c (ba2d26660d0e13b3465917022aca78d49e259b59) | memory_hotplug.c (5640c9ca7ed2e54628938f9d505c969b48e3fa67) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * linux/mm/memory_hotplug.c 4 * 5 * Copyright (C) 6 */ 7 8#include <linux/stddef.h> --- 1894 unchanged lines hidden (view full) --- 1903 1904 try_offline_node(nid); 1905 1906 mem_hotplug_done(); 1907 return 0; 1908} 1909 1910/** | 1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * linux/mm/memory_hotplug.c 4 * 5 * Copyright (C) 6 */ 7 8#include <linux/stddef.h> --- 1894 unchanged lines hidden (view full) --- 1903 1904 try_offline_node(nid); 1905 1906 mem_hotplug_done(); 1907 return 0; 1908} 1909 1910/** |
1911 * remove_memory | 1911 * __remove_memory - Remove memory if every memory block is offline |
1912 * @nid: the node ID 1913 * @start: physical address of the region to remove 1914 * @size: size of the region to remove 1915 * 1916 * NOTE: The caller must call lock_device_hotplug() to serialize hotplug 1917 * and online/offline operations before this call, as required by 1918 * try_offline_node(). 1919 */ --- 137 unchanged lines hidden --- | 1912 * @nid: the node ID 1913 * @start: physical address of the region to remove 1914 * @size: size of the region to remove 1915 * 1916 * NOTE: The caller must call lock_device_hotplug() to serialize hotplug 1917 * and online/offline operations before this call, as required by 1918 * try_offline_node(). 1919 */ --- 137 unchanged lines hidden --- |