diff options
author | David Hildenbrand <[email protected]> | 2024-05-02 10:52:59 +0200 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2024-05-07 10:36:58 -0700 |
commit | b8a2528835b31718286e7436529917e1f521bf6f (patch) | |
tree | a34bf516f8b77c9e5cfa8a498ef440a15c21bdb6 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 4bf6a4ebc59201bcd12c932f25edda4c3e36e5df (diff) |
mm/hugetlb: document why hugetlb uses folio_mapcount() for COW reuse decisions
Let's document why hugetlb still uses folio_mapcount() and is prone to
leaking memory between processes, for example using vmsplice() that still
uses FOLL_GET.
More details can be found in [1], especially around how hugetlb pages
cannot really be overcommitted, and why we don't particularly care about
these vmsplice() leaks for hugetlb -- in contrast to ordinary memory.
[1] https://lore.kernel.org/all/[email protected]/
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: David Hildenbrand <[email protected]>
Suggested-by: Peter Xu <[email protected]>
Cc: Muchun Song <[email protected]>
Cc: Shuah Khan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions