summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPeter Xu <peterx@redhat.com>2022-10-20 15:38:32 -0400
committerAndrew Morton <akpm@linux-foundation.org>2022-11-08 17:37:19 -0800
commit4781593d5dbae50500d1c7975be03b590ae2b92a (patch)
treee2b18b386f0470fa4d06ba21e6dbb04daa78b32e /tools
parentcc03817c0e8417419ede18a8e0749c5b9699b135 (diff)
downloadlwn-4781593d5dbae50500d1c7975be03b590ae2b92a.tar.gz
lwn-4781593d5dbae50500d1c7975be03b590ae2b92a.zip
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/20221020193832.776173-1-peterx@redhat.com Signed-off-by: Peter Xu <peterx@redhat.com> Reviewed-by: Mike Kravetz <mike.kravetz@oracle.com> Cc: Muchun Song <songmuchun@bytedance.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions