Re: [PATCHv7 07/16] x86/mm: Return correct level from lookup_address() if pte is none

From: Dave Hansen
Date: Fri Feb 23 2024 - 13:59:02 EST


On 2/23/24 10:45, Dave Hansen wrote:
> Always filling out the level allows using lookup_address() to
> iterate over kernel page tables.

This doesn't parse very well. How about this instead:

Always filling out the level allows using lookup_address() to
precisely skip over holes when walking kernel page tables.

I think that more accurately captures what you're doing with it in the
next patch.