memory: move hotplug memory notifier priority to same file for easy sorting
authorLiu Shixin <liushixin2@huawei.com>
Fri, 23 Sep 2022 03:33:47 +0000 (11:33 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 9 Nov 2022 01:37:17 +0000 (17:37 -0800)
commit1eeaa4fd39b0b1b3e986f8eab6978e69b01e3c5e
tree5ff171ad093d466d33ae18d686b6adbd792e7085
parenteafd296e0cc0cc03b4ae01c2b3b07273514d757c
memory: move hotplug memory notifier priority to same file for easy sorting

The priority of hotplug memory callback is defined in a different file.
And there are some callers using numbers directly.  Collect them together
into include/linux/memory.h for easy reading.  This allows us to sort
their priorities more intuitively without additional comments.

Link: https://lkml.kernel.org/r/20220923033347.3935160-9-liushixin2@huawei.com
Signed-off-by: Liu Shixin <liushixin2@huawei.com>
Cc: Christoph Lameter <cl@linux.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Kefeng Wang <wangkefeng.wang@huawei.com>
Cc: Waiman Long <longman@redhat.com>
Cc: zefan li <lizefan.x@bytedance.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/acpi/numa/hmat.c
fs/proc/kcore.c
include/linux/memory-tiers.h
include/linux/memory.h
kernel/cgroup/cpuset.c
mm/kasan/shadow.c
mm/ksm.c
mm/memory-tiers.c
mm/mm_init.c
mm/mmap.c
mm/page_ext.c