OSDN Git Service

mm/vmscan.c: remove 7th argument of isolate_lru_pages()
authorKirill Tkhai <ktkhai@virtuozzo.com>
Tue, 5 Mar 2019 23:46:55 +0000 (15:46 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 6 Mar 2019 05:07:18 +0000 (21:07 -0800)
commita9e7c39fa9fd908bc914d691045c96fdc97da7cd
tree24de2fa8b129297fea77958bc46474245ec5b85b
parent2e25644e8da4ed3a27e7b8315aaae74660be72dc
mm/vmscan.c: remove 7th argument of isolate_lru_pages()

We may simply check for sc->may_unmap in isolate_lru_pages() instead of
doing that in both of its callers.

Link: http://lkml.kernel.org/r/154748280735.29962.15867846875217618569.stgit@localhost.localdomain
Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/vmscan.c