diff options
author | Mark Brown <broonie@kernel.org> | 2018-05-18 11:44:19 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-05-18 11:44:19 +0100 |
commit | 0e7fcfff8dc3b5f08f0bee84ce00d3234992e0d2 (patch) | |
tree | 26197742be1599e1fb8aa38cde3f0a2e7526d20d /include/linux/mm.h | |
parent | 2da9deac1e123ce8f9c22919f9f49b3a50d0c3fd (diff) | |
parent | 69847b97f21141c2d4f6e9c1b22d932b7add3182 (diff) |
Merge tag 'v4.4.132' into linux-linaro-lsk-v4.4
This is the 4.4.132 stable release
Diffstat (limited to 'include/linux/mm.h')
-rw-r--r-- | include/linux/mm.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h index 5c2bf9096b7a..b20a1e73bacd 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -225,10 +225,14 @@ extern pgprot_t protection_map[16]; * ->fault function. The vma's ->fault is responsible for returning a bitmask * of VM_FAULT_xxx flags that give details about how the fault was handled. * + * MM layer fills up gfp_mask for page allocations but fault handler might + * alter it if its implementation requires a different allocation context. + * * pgoff should be used in favour of virtual_address, if possible. */ struct vm_fault { unsigned int flags; /* FAULT_FLAG_xxx flags */ + gfp_t gfp_mask; /* gfp mask to be used for allocations */ pgoff_t pgoff; /* Logical page offset based on vma */ void __user *virtual_address; /* Faulting virtual address */ |