Re: [RFC][PATCH 2/8] x86/mm: break out kernel address space handling

From: Sean Christopherson
Date: Fri Sep 07 2018 - 17:06:04 EST


On Fri, 2018-09-07 at 12:48 -0700, Dave Hansen wrote:
> From: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>
>
> The page fault handler (__do_page_fault())ÂÂbasically has two sections:
> one for handling faults in the kernel porttion of the address space
> and another for faults in the user porttion of the address space.

%s/porttion/portion

> But, these two parts don't stick out that well.ÂÂLet's make that more
> clear from code separation and naming.ÂÂPull kernel fault
> handling into its own helper, and reflect that naming by renaming
> spurious_fault() -> spurious_kernel_fault().
>
> Also, rewrite the vmalloc handling comment a bit.ÂÂIt was a bit
> stale and also glossed over the reserved bit handling.