]> 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)
commit2f03a7a93d941eab54a3f1f0d8fa8be86648e87a
treeb8025428b6cae7c406ecef32e42e3a63feebe6d9
parent72f4a8c8980846d49c06a4865c8a53292b37a905
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