diff options
| author | Lance Yang <[email protected]> | 2024-06-11 01:04:18 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-07-04 02:30:09 +0000 |
| commit | f742829d32e242b542f8b6628d75141c2dd2dc2d (patch) | |
| tree | b6fc0b0dd7a446919d1a23daefd133bb3b7a6c7d /mm/page_ext.c | |
| parent | mm: zswap: handle incorrect attempts to load large folios (diff) | |
| download | kernel-f742829d32e242b542f8b6628d75141c2dd2dc2d.tar.gz kernel-f742829d32e242b542f8b6628d75141c2dd2dc2d.zip | |
mm/mlock: implement folio_mlock_step() using folio_pte_batch()
Let's make folio_mlock_step() simply a wrapper around folio_pte_batch(),
which will greatly reduce the cost of ptep_get() when scanning a range of
contptes.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Lance Yang <[email protected]>
Acked-by: David Hildenbrand <[email protected]>
Reviewed-by: Baolin Wang <[email protected]>
Suggested-by: Barry Song <[email protected]>
Suggested-by: Matthew Wilcox <[email protected]>
Cc: Bang Li <[email protected]>
Cc: "Huang, Ying" <[email protected]>
Cc: Ryan Roberts <[email protected]>
Cc: Yin Fengwei <[email protected]>
Cc: Zi Yan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'mm/page_ext.c')
0 files changed, 0 insertions, 0 deletions
