mm: make ttu's return boolean
authorMinchan Kim <[email protected]>
Wed, 3 May 2017 21:54:20 +0000 (14:54 -0700)
committerLinus Torvalds <[email protected]>
Wed, 3 May 2017 22:52:10 +0000 (15:52 -0700)
commit666e5a406c3ed562e7b3ceff8b631b6067bdaead
tree7c92e65829e730413ae3e8afece9269004d5324f
parent33fc80e2574737e6e21eecc4c1d7942370a2c752
mm: make ttu's return boolean

try_to_unmap() returns SWAP_SUCCESS or SWAP_FAIL so it's suitable for
boolean return.  This patch changes it.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Minchan Kim <[email protected]>
Cc: Naoya Horiguchi <[email protected]>
Cc: Anshuman Khandual <[email protected]>
Cc: Hillf Danton <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Kirill A. Shutemov <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Vlastimil Babka <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/rmap.h
mm/huge_memory.c
mm/memory-failure.c
mm/rmap.c
mm/vmscan.c