Commit 320b6847 authored by Laurent Dufour's avatar Laurent Dufour Committed by Suren Baghdasaryan
Browse files

FROMLIST: mm/migrate: Pass vm_fault pointer to migrate_misplaced_page()



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.

Change-Id: I254a7c9d91dca9ee8a9afd5eccd6de9af5dc8bc0
Acked-by: default avatarDavid Rientjes <rientjes@google.com>
Signed-off-by: default avatarLaurent Dufour <ldufour@linux.vnet.ibm.com>
Link: https://lore.kernel.org/lkml/1523975611-15978-14-git-send-email-ldufour@linux.vnet.ibm.com/


Bug: 161210518
Signed-off-by: default avatarVinayak Menon <vinmenon@codeaurora.org>
parent 32507b6f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment