Re: [PATCH v4 1/2] Revert "powerpc: Set max_mapnr correctly"

From: Michael Ellerman
Date: Mon Mar 28 2022 - 06:37:26 EST


Kefeng Wang <wangkefeng.wang@xxxxxxxxxx> writes:
> Hi maintainers,
>
> I saw the patches has been reviewed[1], could they be merged?

Maybe I'm just misreading the change log, but it seems wrong that we
need to add extra checks. pfn_valid() shouldn't return true for vmalloc
addresses in the first place, shouldn't we fix that instead? Who knows
what else that might be broken because of that.

cheers