diff options
| author | Anshuman Khandual <[email protected]> | 2022-01-14 22:05:07 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2022-01-15 14:30:26 +0000 |
| commit | 236476180c0f5d308fb313d5570d0b067307884c (patch) | |
| tree | f6388a5bbe37ec5630cc15f805c6c9d5f5d4e20c /mm/debug_vm_pgtable.c | |
| parent | mm,fs: split dump_mapping() out from dump_page() (diff) | |
| download | kernel-236476180c0f5d308fb313d5570d0b067307884c.tar.gz kernel-236476180c0f5d308fb313d5570d0b067307884c.zip | |
mm/debug_vm_pgtable: update comments regarding migration swap entries
Commit 4dd845b5a3e5 ("mm/swapops: rework swap entry manipulation code")
had changed migtation entry related helpers. Just update
debug_vm_pgatble() synced documentation to reflect those changes.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Anshuman Khandual <[email protected]>
Cc: Jonathan Corbet <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'mm/debug_vm_pgtable.c')
| -rw-r--r-- | mm/debug_vm_pgtable.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/debug_vm_pgtable.c b/mm/debug_vm_pgtable.c index 228e3954b90c..2a2b24e87877 100644 --- a/mm/debug_vm_pgtable.c +++ b/mm/debug_vm_pgtable.c @@ -888,8 +888,8 @@ static void __init swap_migration_tests(struct pgtable_debug_args *args) pr_debug("Validating swap migration\n"); /* - * make_migration_entry() expects given page to be - * locked, otherwise it stumbles upon a BUG_ON(). + * make_[readable|writable]_migration_entry() expects given page to + * be locked, otherwise it stumbles upon a BUG_ON(). */ __SetPageLocked(page); swp = make_writable_migration_entry(page_to_pfn(page)); |
