diff options
author | 2024-04-11 14:17:08 +0800 | |
---|---|---|
committer | 2024-05-05 17:53:34 -0700 | |
commit | 40d707f33db5e6d7da37b701955a3f662a741b02 (patch) | |
tree | f95579dc74e7fb92915f8625e017254a2c2b676a /mm/migrate.c | |
parent | mm/ksm: use ksm_get_folio in scan_get_next_rmap_item (diff) | |
download | wireguard-linux-40d707f33db5e6d7da37b701955a3f662a741b02.tar.xz wireguard-linux-40d707f33db5e6d7da37b701955a3f662a741b02.zip |
mm/ksm: use folio in write_protect_page
Compound page is checked and skipped before write_protect_page() called,
use folio to save a few compound_head checks.
Link: https://lkml.kernel.org/r/20240411061713.1847574-8-alexs@kernel.org
Signed-off-by: Alex Shi (tencent) <alexs@kernel.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Cc: Izik Eidus <izik.eidus@ravellosystems.com>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/migrate.c')
0 files changed, 0 insertions, 0 deletions