]> Git Repo - linux.git/commit - mm/debug_vm_pgtable.c
mm/swapops: rework swap entry manipulation code
authorAlistair Popple <[email protected]>
Thu, 1 Jul 2021 01:54:09 +0000 (18:54 -0700)
committerLinus Torvalds <[email protected]>
Thu, 1 Jul 2021 18:06:03 +0000 (11:06 -0700)
commit4dd845b5a3e57ad07f26ef808707b064696fe34b
tree6cfe529d45b92923ff4cf7e90762a770822dc691
parentaf5cdaf82238fb3637a0d0fff4670e5be71c611c
mm/swapops: rework swap entry manipulation code

Both migration and device private pages use special swap entries that are
manipluated by a range of inline functions.  The arguments to these are
somewhat inconsistent so rework them to remove flag type arguments and to
make the arguments similar for both read and write entry creation.

Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Alistair Popple <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Reviewed-by: Ralph Campbell <[email protected]>
Cc: Ben Skeggs <[email protected]>
Cc: Hugh Dickins <[email protected]>
Cc: John Hubbard <[email protected]>
Cc: "Matthew Wilcox (Oracle)" <[email protected]>
Cc: Peter Xu <[email protected]>
Cc: Shakeel Butt <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/swapops.h
mm/debug_vm_pgtable.c
mm/hmm.c
mm/huge_memory.c
mm/hugetlb.c
mm/memory.c
mm/migrate.c
mm/mprotect.c
mm/rmap.c
This page took 0.063098 seconds and 4 git commands to generate.