[PATCH v9 12/24] mm/migrate: Pass vm_fault pointer to migrate_misplaced_page()

David Rientjes rientjes at google.com
Tue Apr 3 09:00:15 AEST 2018


On Tue, 13 Mar 2018, Laurent Dufour wrote:

> migrate_misplaced_page() is only called during the page fault handling so
> it's better to pass the pointer to the struct vm_fault instead of the vma.
> 
> This way during the speculative page fault path the saved vma->vm_flags
> could be used.
> 
> Signed-off-by: Laurent Dufour <ldufour at linux.vnet.ibm.com>

Acked-by: David Rientjes <rientjes at google.com>


More information about the Linuxppc-dev mailing list