Re: [PATCH linux-next v3] swap_state: update shadow_nodes for anonymous page
From: yang.yang29
Date: Wed Jan 18 2023 - 07:58:49 EST
> i_lock is at offset 128 of struct inode, so that matches the dump.
> I believe that swapper_spaces never have ->host set, so I don't
> believe you've tested this patch since 51b8c1fe250d went in
> back in 2021.
You are totally right. I reproduce the panic in linux-next, and fix
it by patch v4. I should be more careful, since I used Linux 5.14
to test the patch which is a mistake.
Much apologies for the time wasted.
Thanks.