summaryrefslogtreecommitdiffstats
path: root/mm/ksm.c
diff options
context:
space:
mode:
authorMinchan Kim2017-05-03 23:54:20 +0200
committerLinus Torvalds2017-05-04 00:52:10 +0200
commit666e5a406c3ed562e7b3ceff8b631b6067bdaead (patch)
tree7c92e65829e730413ae3e8afece9269004d5324f /mm/ksm.c
parentmm: remove SWAP_AGAIN in ttu (diff)
downloadkernel-qcow2-linux-666e5a406c3ed562e7b3ceff8b631b6067bdaead.tar.gz
kernel-qcow2-linux-666e5a406c3ed562e7b3ceff8b631b6067bdaead.tar.xz
kernel-qcow2-linux-666e5a406c3ed562e7b3ceff8b631b6067bdaead.zip
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/1489555493-14659-8-git-send-email-minchan@kernel.org Signed-off-by: Minchan Kim <minchan@kernel.org> Cc: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> Cc: Anshuman Khandual <khandual@linux.vnet.ibm.com> Cc: Hillf Danton <hillf.zj@alibaba-inc.com> Cc: Johannes Weiner <hannes@cmpxchg.org> Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Cc: Michal Hocko <mhocko@suse.com> Cc: Vlastimil Babka <vbabka@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/ksm.c')
0 files changed, 0 insertions, 0 deletions