diff options
author | Peter Xu <[email protected]> | 2022-10-20 15:38:32 -0400 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2022-11-08 17:37:19 -0800 |
commit | 4781593d5dbae50500d1c7975be03b590ae2b92a (patch) | |
tree | e2b18b386f0470fa4d06ba21e6dbb04daa78b32e /include/linux/compiler-gcc.h | |
parent | cc03817c0e8417419ede18a8e0749c5b9699b135 (diff) |
mm/hugetlb: unify clearing of RestoreReserve for private pages
A trivial cleanup to move clearing of RestoreReserve into adding anon rmap
of private hugetlb mappings. It matches with the shared mappings where we
only clear the bit when adding into page cache, rather than spreading it
around the code paths.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Peter Xu <[email protected]>
Reviewed-by: Mike Kravetz <[email protected]>
Cc: Muchun Song <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'include/linux/compiler-gcc.h')
0 files changed, 0 insertions, 0 deletions