Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

mm/memory_hotplug: Update comment for hotplug memory callback priorities

Add clarification to comment for memory hotplug callback ordering as the
current comment does not provide clear language on which callback happens
first.

Acked-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Link: https://patch.msgid.link/20250829222907.1290912-2-dave.jiang@intel.com
Signed-off-by: Dave Jiang <dave.jiang@intel.com>

+2 -2
+2 -2
include/linux/memory.h
··· 115 115 struct mem_section; 116 116 117 117 /* 118 - * Priorities for the hotplug memory callback routines (stored in decreasing 119 - * order in the callback chain) 118 + * Priorities for the hotplug memory callback routines. Invoked from 119 + * high to low. Higher priorities correspond to higher numbers. 120 120 */ 121 121 #define DEFAULT_CALLBACK_PRI 0 122 122 #define SLAB_CALLBACK_PRI 1