David Hildenbrand
6b740c6c3a
mm/memory_hotplug: remove HIGHMEM leftovers
...
We don't support CONFIG_MEMORY_HOTPLUG on 32 bit and consequently not
HIGHMEM. Let's remove any leftover code -- including the unused
"status_change_nid_high" field part of the memory notifier.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: David Hildenbrand <[email protected] >
Reviewed-by: Oscar Salvador <[email protected] >
Cc: Alex Shi <[email protected] >
Cc: Andy Lutomirski <[email protected] >
Cc: Benjamin Herrenschmidt <[email protected] >
Cc: Borislav Petkov <[email protected] >
Cc: Dave Hansen <[email protected] >
Cc: Greg Kroah-Hartman <[email protected] >
Cc: "H. Peter Anvin" <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: Jason Wang <[email protected] >
Cc: Jonathan Corbet <[email protected] >
Cc: Michael Ellerman <[email protected] >
Cc: "Michael S. Tsirkin" <[email protected] >
Cc: Michal Hocko <[email protected] >
Cc: Mike Rapoport <[email protected] >
Cc: Paul Mackerras <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Cc: "Rafael J. Wysocki" <[email protected] >
Cc: Shuah Khan <[email protected] >
Cc: Thomas Gleixner <[email protected] >
Signed-off-by: Andrew Morton <[email protected] >
Signed-off-by: Linus Torvalds <[email protected] >
2021-11-06 13:30:42 -07:00
David Hildenbrand
3a7452c5a7
docs/core-api: memory-hotplug: add some details about locking internals
...
Let's document the magic a bit, especially why device_hotplug_lock is
required when adding/removing memory and how it all play together with
requests to online/offline memory from user space.
[ rppt: moved the text to Documentation/core-api/memory-hotplug.rst ]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: David Hildenbrand <[email protected] >
Reviewed-by: Pavel Tatashin <[email protected] >
Reviewed-by: Rashmica Gupta <[email protected] >
Cc: Jonathan Corbet <[email protected] >
Cc: Michal Hocko <[email protected] >
Cc: Balbir Singh <[email protected] >
Cc: Benjamin Herrenschmidt <[email protected] >
Cc: Boris Ostrovsky <[email protected] >
Cc: Dan Williams <[email protected] >
Cc: Greg Kroah-Hartman <[email protected] >
Cc: Haiyang Zhang <[email protected] >
Cc: Heiko Carstens <[email protected] >
Cc: John Allen <[email protected] >
Cc: Joonsoo Kim <[email protected] >
Cc: Juergen Gross <[email protected] >
Cc: Kate Stewart <[email protected] >
Cc: "K. Y. Srinivasan" <[email protected] >
Cc: Len Brown <[email protected] >
Cc: Martin Schwidefsky <[email protected] >
Cc: Mathieu Malaterre <[email protected] >
Cc: Michael Ellerman <[email protected] >
Cc: Michael Neuling <[email protected] >
Cc: Nathan Fontenot <[email protected] >
Cc: Oscar Salvador <[email protected] >
Cc: Paul Mackerras <[email protected] >
Cc: Philippe Ombredanne <[email protected] >
Cc: Rafael J. Wysocki <[email protected] >
Cc: "Rafael J. Wysocki" <[email protected] >
Cc: Stephen Hemminger <[email protected] >
Cc: Thomas Gleixner <[email protected] >
Cc: Vlastimil Babka <[email protected] >
Cc: YASUAKI ISHIMATSU <[email protected] >
Signed-off-by: Andrew Morton <[email protected] >
Signed-off-by: Mike Rapoport <[email protected] >
Signed-off-by: Jonathan Corbet <[email protected] >
2018-10-12 11:14:19 -06:00
Mike Rapoport
52d7e21fd5
docs/core-api: rename memory-hotplug-notifier to memory-hotplug
...
to allow additions of new documentation about memory hotplug under the same
roof.
Signed-off-by: Mike Rapoport <[email protected] >
Reviewed-by: David Hildenbrand <[email protected] >
Signed-off-by: Jonathan Corbet <[email protected] >
2018-10-12 11:13:57 -06:00