diff options
author | David Hildenbrand <david@redhat.com> | 2024-07-31 18:07:58 +0200 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-09-01 20:25:57 -0700 |
commit | 17d5f38b33b66210c5a46af639c47fddfe1c5b4d (patch) | |
tree | 5060c5271442dbd25aa1724906ca7d0cf7dbda55 /mm/swap_state.c | |
parent | 6654d28995d2d1d3e65c653f471a635cd21c99ea (diff) |
mm: clarify folio_likely_mapped_shared() documentation for KSM folios
For KSM folios, the function actually does what it is supposed to do: even
having multiple mappings inside the same MM is considered "sharing", as
there is no real relationship between these KSM page mappings -- in
contrast to mapping the same file range twice and having the same
pagecache page mapped twice.
Link: https://lkml.kernel.org/r/20240731160758.808925-1-david@redhat.com
Signed-off-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/swap_state.c')
0 files changed, 0 insertions, 0 deletions