Re: [PATCH V3] x86/mm: Tracking linear mapping split events

From: Saravanan D
Date: Wed Jan 27 2021 - 19:17:22 EST


Hi Dave,

> We don't use __x86_64__ in the kernel. This should be CONFIG_X86.
Noted. I will correct this in V4

> or the level from the bottom where the split occurred:
>
> direct_map_level2_splits
> direct_map_level3_splits
>
> That has the bonus of being usable on other architectures.
Naming them after page table levels makes lot of sense. 2 new vmstat
event counters that is relevant for all without the need for #ifdef
page size craziness.

- Saravanan D