]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit925befdbd3cc1e76dc4e21042934041342b5d5e4
treeb8025428b6cae7c406ecef32e42e3a63feebe6d9
parentbc324951ffac722a450885bd312375653437f946
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