]> Git Repo - linux.git/commit
mm: simplify try_to_unuse
authorChristoph Hellwig <[email protected]>
Sat, 22 Jan 2022 06:14:57 +0000 (22:14 -0800)
committerLinus Torvalds <[email protected]>
Sat, 22 Jan 2022 06:33:38 +0000 (08:33 +0200)
commit10a9c496789fe2098bfc018650fc77b23ba08a54
tree3ea93b2e5ebaa77b29ff7abb8867a6606bc214a4
parent360be5daa33fe74fc472195242ae2a2337c4320b
mm: simplify try_to_unuse

Remove the unused frontswap and pages_to_unuse arguments, and mark the
function static now that the caller in frontswap is gone.

[[email protected]: fix shmem_unuse() stub, per Matthew]

Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Juergen Gross <[email protected]>
Cc: Dan Streetman <[email protected]>
Cc: Geert Uytterhoeven <[email protected]>
Cc: Hugh Dickins <[email protected]>
Cc: Konrad Rzeszutek Wilk <[email protected]>
Cc: Matthew Wilcox (Oracle) <[email protected]>
Cc: Seth Jennings <[email protected]>
Cc: Vitaly Wool <[email protected]>
Cc: Naresh Kamboju <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/frontswap.h
include/linux/shmem_fs.h
include/linux/swapfile.h
mm/shmem.c
mm/swapfile.c
This page took 0.072843 seconds and 4 git commands to generate.