Re: [PATCH 1/2] mm: fix logic error of page_expected_state

From: Matthew Wilcox
Date: Wed Sep 14 2022 - 03:35:56 EST


On Wed, Sep 14, 2022 at 11:37:00AM +0800, zhaoyang.huang wrote:
> From: Zhaoyang Huang <zhaoyang.huang@xxxxxxxxxx>
>
> The page with special page type will be deemed as bad page wrongly since
> type share the same address with mapcount.

That's not wrongly. You didn't clear the bit. I told you you would
need to do that in the first version of the patch you sent.