The patch titled Subject: lib-plistc-add-shortcut-for-plist_requeue-fix has been added to the -mm mm-nonmm-unstable branch. Its filename is lib-plistc-add-shortcut-for-plist_requeue-fix.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/lib-plistc-add-shortcut-for-plist_requeue-fix.patch This patch will later appear in the mm-nonmm-unstable branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next via the mm-everything branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm and is updated there every 2-3 working days ------------------------------------------------------ From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: lib-plistc-add-shortcut-for-plist_requeue-fix Date: Tue Jan 28 07:27:41 PM PST 2025 tweak comment and code layout Cc: Ching-Chun (Jim) Huang <jserv@xxxxxxxxxxxxxxxx> Cc: I Hsin Cheng <richard120310@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- lib/plist.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) --- a/lib/plist.c~lib-plistc-add-shortcut-for-plist_requeue-fix +++ a/lib/plist.c @@ -171,12 +171,13 @@ void plist_requeue(struct plist_node *no plist_del(node, head); - /* After plist_del(), iter is the replacement of node - * , if node was on prio_list, then take shortcut to - * find node_next instead of looping. + /* + * After plist_del(), iter is the replacement of the node. If the node + * was on prio_list, take shortcut to find node_next instead of looping. */ if (!list_empty(&iter->prio_list)) { - iter = list_entry(iter->prio_list.next, struct plist_node, prio_list); + iter = list_entry(iter->prio_list.next, struct plist_node, + prio_list); node_next = &iter->node_list; goto queue; } _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are lib-plistc-add-shortcut-for-plist_requeue-fix.patch