Re: [GIT PULL] non-MM updates for 6.19-rc1
From: Linus Torvalds
Date: Sun Dec 07 2025 - 23:09:14 EST
On Mon, 8 Dec 2025 at 13:01, Joseph Qi <joseph.qi@xxxxxxxxxxxxxxxxx> 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