diff options
author | Rik van Riel <[email protected]> | 2021-02-25 17:16:22 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2021-02-26 09:40:59 -0800 |
commit | 78cc8cdc54008f54b79711fc027afc3564588a04 (patch) | |
tree | 1dcf0874498b52fc8136626a48580facf3533d8b /samples/bpf/fds_example.c | |
parent | 164cc4fef4456727466f8e35bb654c3994748070 (diff) |
mm,thp,shm: limit gfp mask to no more than specified
Matthew Wilcox pointed out that the i915 driver opportunistically
allocates tmpfs memory, but will happily reclaim some of its pool if no
memory is available.
Make sure the gfp mask used to opportunistically allocate a THP is always
at least as restrictive as the original gfp mask.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Rik van Riel <[email protected]>
Suggested-by: Matthew Wilcox <[email protected]>
Cc: Andrea Arcangeli <[email protected]>
Cc: Hugh Dickins <[email protected]>
Cc: Mel Gorman <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Vlastimil Babka <[email protected]>
Cc: Xu Yu <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'samples/bpf/fds_example.c')
0 files changed, 0 insertions, 0 deletions