Re: [PATCH] mm/mapping_dirty_helpers: Update huge page-table entry callbacks

From: Thomas HellstrÃm (VMware)
Date: Fri Jan 31 2020 - 09:55:44 EST


On 1/31/20 12:33 PM, Steven Price wrote:
On Fri, Jan 31, 2020 at 10:00:52AM +0000, Thomas HellstrÃm (VMware) wrote:
From: Thomas Hellstrom <thellstrom@xxxxxxxxxx>

Following the update of pagewalk code
commit a07984d48146 ("mm: pagewalk: add p4d_entry() and pgd_entry()")
we can modify the mapping_dirty_helpers' huge page-table entry callbacks
to avoid splitting when a huge pud or -pmd is encountered.

Signed-off-by: Thomas Hellstrom <thellstrom@xxxxxxxxxx>
Cc: Steven Price <steven.price@xxxxxxx>
LGTM

Reviewed-by: Steven Price <steven.price@xxxxxxx>

Thanks for reviewing, Steven!

/Thomas