Re: [PATCH 2/4] mm/memory: convert wp_page_shared() to use folios

From: Matthew Wilcox
Date: Mon Jul 03 2023 - 19:29:37 EST


On Sun, Jul 02, 2023 at 10:58:48PM -0700, Sidhartha Kumar wrote:
> @@ -3296,21 +3297,21 @@ static vm_fault_t wp_page_shared(struct vm_fault *vmf)
> tmp = do_page_mkwrite(vmf);

A nice improvement to make after the series might be to pass (vmf,
folio) to save even more calls to compound_head().