From: "Christoph Lameter (Ampere)" <cl@gentwo.org>
To: Hyeonggon Yoo <42.hyeyoo@gmail.com>
Cc: Vlastimil Babka <vbabka@suse.cz>, "yuan.gao" <yuan.gao@ucloud.cn>,
penberg@kernel.org, rientjes@google.com, iamjoonsoo.kim@lge.com,
akpm@linux-foundation.org, roman.gushchin@linux.dev,
linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] mm/slub: Avoid list corruption when removing a slab from the full list
Date: Mon, 7 Oct 2024 09:40:39 -0700 (PDT) [thread overview]
Message-ID: <006695cb-368c-9afc-80b5-29338e85ab99@gentwo.org> (raw)
In-Reply-To: <916bea8e-0e79-c561-f8e8-b3c7fa026161@gentwo.org>
list_del() in remove_partial() sets poison values for next/prev so there
should no list
corruption but a failure showing the poison values.
static inline void list_del(struct list_head *entry)
{
__list_del_entry(entry);
entry->next = LIST_POISON1;
entry->prev = LIST_POISON2;
}
next prev parent reply other threads:[~2024-10-07 16:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-07 9:18 yuan.gao
2024-10-07 14:29 ` Vlastimil Babka
2024-10-07 15:03 ` Hyeonggon Yoo
2024-10-07 16:00 ` Christoph Lameter (Ampere)
2024-10-07 16:40 ` Christoph Lameter (Ampere) [this message]
2024-10-08 9:17 ` Vlastimil Babka
2024-10-08 13:28 ` yuan.gao
2024-10-08 10:25 ` Vlastimil Babka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=006695cb-368c-9afc-80b5-29338e85ab99@gentwo.org \
--to=cl@gentwo.org \
--cc=42.hyeyoo@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=iamjoonsoo.kim@lge.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=penberg@kernel.org \
--cc=rientjes@google.com \
--cc=roman.gushchin@linux.dev \
--cc=vbabka@suse.cz \
--cc=yuan.gao@ucloud.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox