mm: remove pages_to_free argument of move_active_pages_to_lru()
authorKirill Tkhai <ktkhai@virtuozzo.com>
Tue, 14 May 2019 00:16:57 +0000 (17:16 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 14 May 2019 16:47:45 +0000 (09:47 -0700)
commitf372d89e5dbbf2bc8e37089bacd526afd4e1d6c2
treeb8025428b6cae7c406ecef32e42e3a63feebe6d9
parent9851ac13592df77958ae7bac6ba39e71420c38ec
mm: remove pages_to_free argument of move_active_pages_to_lru()

We may use input argument list as output argument too.  This makes the
function more similar to putback_inactive_pages().

Link: http://lkml.kernel.org/r/155290129079.31489.16180612694090502942.stgit@localhost.localdomain
Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Reviewed-by: Daniel Jordan <daniel.m.jordan@oracle.com>
Cc: Michal Hocko <mhocko@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/vmscan.c