Re: [PATCH] lib/plist: add a plist_test case for plist_requeue() on the last priority bucket

From: Nickolai Zeldovich

Date: Sun Oct 11 2026 - 07:54:16 EST


On Sun, Oct 11, 2026 at 12:18 AM Andrew Morton
<akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
> On Sat, 10 Oct 2026 21:22:33 -0400 Nickolai Zeldovich <nickolai@xxxxxxxxxxxxx> wrote:
> > Not booted.
>
> err, it should be, If this is wrong, we crash every kernel at boot.
>
> > + BUG_ON(plist_last(&test_head) != test_node + 1);
>
> No, let's not add a BUG_ON for some selftest. Emit a loud warning and
> proceed. If it triggers, someone will report it.

Fixed, boot-tested, and re-sent as a v2 patch; thanks for the feedback!

Nickolai.