[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHk-=wjiiHNi9iCNZG58zH-AXpfM85giXho9m5YC8t8us4aWAA@mail.gmail.com>
Date: Mon, 8 Dec 2025 13:08:54 +0900
From: Linus Torvalds <torvalds@...uxfoundation.org>
To: Joseph Qi <joseph.qi@...ux.alibaba.com>
Cc: Heming Zhao <heming.zhao@...e.com>, Andrew Morton <akpm@...ux-foundation.org>,
Dmitry Antipov <dmantipov@...dex.ru>, Mark Fasheh <mark@...heh.com>, linux-kernel@...r.kernel.org,
linux-mm@...ck.org, mm-commits@...r.kernel.org,
Pasha Tatashin <pasha.tatashin@...een.com>
Subject: Re: [GIT PULL] non-MM updates for 6.19-rc1
On Mon, 8 Dec 2025 at 13:01, Joseph Qi <joseph.qi@...ux.alibaba.com> wrote:
>
> It seems now new_xh->xh_count is 0. That's means, it is trying to add a
> new entry and here 'last' is pointing the next free entry.
No. If new_xh->xh_count is 0, nothing ever happens, because it checks
for that case:
if (new_xh->xh_count) {
and that's the only place where 'last' is ever used.
Linus
Powered by blists - more mailing lists