mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-06 03:45:24 -04:00
ANDROID: GKI: mm: add struct vm_fault fields for SPECULATIVE_PAGE_FAULTS
Two new fields in the struct vm_fault can't easily be excluded using CONFIG_SPECULATIVE_PAGE_FAULTS. Add them as padding to reduce the ABI diff between vendors which use SPECULATIVE_PAGE_FAULTS and ACK. This allows vendors to pick the SPECULATIVE_PAGE_FAULTS feature and still be ABI compatible with ACK. Bug: 153715905 Test: build Signed-off-by: Laurent Dufour <ldufour@linux.vnet.ibm.com> Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org> Signed-off-by: Charan Teja Reddy <charante@codeaurora.org> (cherry picked from commit 47e3eb155848872a13ab6ef73a4d0eecac36ce66) [surenb: kept only struct vm_fault changes and dropped the rest] Signed-off-by: Suren Baghdasaryan <surenb@google.com> Change-Id: I08dbe38f37fa3e8a0f96f71cb6b2dd8737221da5 Git-commit: a1db93d3a956eae02646e3269f5bb6f3c6fdc7c9 Git-Repo: https://android.googlesource.com/kernel/common/ Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org> Signed-off-by: Mukesh Ojha <mojha@codeaurora.org>
This commit is contained in:
parent
6b2f5048ba
commit
e89b2b7f5b
2 changed files with 18232 additions and 18067 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -451,6 +451,8 @@ struct vm_fault {
|
|||
* page table to avoid allocation from
|
||||
* atomic context.
|
||||
*/
|
||||
unsigned long vma_flags; /* Speculative Page Fault field */
|
||||
pgprot_t vma_page_prot; /* Speculative Page Fault field */
|
||||
};
|
||||
|
||||
/* page entry size for vm->huge_fault() */
|
||||
|
|
|
|||
Loading…
Reference in a new issue