From: Dave Jiang Date: Fri, 29 Aug 2025 22:29:04 +0000 (-0700) Subject: mm/memory_hotplug: Update comment for hotplug memory callback priorities X-Git-Tag: v6.18-rc1~85^2~3^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65128868bb3b0621d2d8e71f19852675a064b373;p=thirdparty%2Fkernel%2Flinux.git 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 Reviewed-by: Jonathan Cameron Link: https://patch.msgid.link/20250829222907.1290912-2-dave.jiang@intel.com Signed-off-by: Dave Jiang --- diff --git a/include/linux/memory.h b/include/linux/memory.h index 40eb70ccb09d5..1305102688d0b 100644 --- a/include/linux/memory.h +++ b/include/linux/memory.h @@ -115,8 +115,8 @@ struct notifier_block; struct mem_section; /* - * Priorities for the hotplug memory callback routines (stored in decreasing - * order in the callback chain) + * Priorities for the hotplug memory callback routines. Invoked from + * high to low. Higher priorities correspond to higher numbers. */ #define DEFAULT_CALLBACK_PRI 0 #define SLAB_CALLBACK_PRI 1