Skip to content

Commit 6512886

Browse files
committed
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>
1 parent 8f5ae30 commit 6512886

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

include/linux/memory.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ struct notifier_block;
115115
struct mem_section;
116116

117117
/*
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.
120120
*/
121121
#define DEFAULT_CALLBACK_PRI 0
122122
#define SLAB_CALLBACK_PRI 1

0 commit comments

Comments
 (0)