Re: [PATCH v2] mm/slub: Avoid list corruption when removing a slab from the full list

From: Vlastimil Babka
Date: Tue Oct 08 2024 - 05:18:01 EST


On 10/7/24 18:40, Christoph Lameter (Ampere) wrote:
>
> list_del() in remove_partial() sets poison values for next/prev so there
> should no list
> corruption but a failure showing the poison values.

Yeah that's what is reported, but there's still a mention of list corruption:

[ 4277.385669] list_del corruption, ffffea00044b3e50->next is LIST_POISON1 (dead000000000100)

> static inline void list_del(struct list_head *entry)
> {
> __list_del_entry(entry);
> entry->next = LIST_POISON1;
> entry->prev = LIST_POISON2;
> }
>