Re: [PATCH] mm: shmem: do not call PageHWPoison on a ERR-page

From: Muchun Song
Date: Thu Nov 11 2021 - 08:10:39 EST


On Thu, Nov 11, 2021 at 8:21 PM Ajay Garg <ajaygargnsit@xxxxxxxxx> wrote:
>
> >
> > What? I put "if (PageHWPoison(page))" into the else branch,
> > it should be added braces since it's not 1-line blocks.
>
> Oh, ok.
>
> > Why do
> > you think it does not address the issue? What am I missing
> > here?
>
> That might work, however I haven't tested it.
>
> Upto the reviewers to see what they see as the best way going forward.

I just suggest, it's up to you.

>
>
>
> Thanks and Regards,
> Ajay