Re: [PATCH v10 02/12] mm: apply_to_pte_range warn and fail if a large pte is encountered

From: Christoph Hellwig
Date: Sun Jan 24 2021 - 06:35:18 EST


On Sun, Jan 24, 2021 at 06:22:20PM +1000, Nicholas Piggin wrote:
> apply_to_pte_range might mistake a large pte for bad, or treat it as a
> page table, resulting in a crash or corruption. Add a test to warn and
> return error if large entries are found.

Looks good,

Reviewed-by: Christoph Hellwig <hch@xxxxxx>