mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
mm/debug_vm_pgtable: update comments regarding migration swap entries
Commit 4dd845b5a3
("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/1641880417-24848-1-git-send-email-anshuman.khandual@arm.com
Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
3e9d80a891
commit
236476180c
@@ -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));
|
||||
|
Reference in New Issue
Block a user