[Devel] [PATCH RHEL7 COMMIT] tcache: Cleanup unused expression from tcache_lru_isolate()
Konstantin Khorenko
khorenko at virtuozzo.com
Thu Aug 31 18:18:19 MSK 2017
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-514.26.1.vz7.35.5
------>
commit 389f1b056f987726601af0399791b18f107436c5
Author: Kirill Tkhai <ktkhai at virtuozzo.com>
Date: Thu Aug 31 18:18:18 2017 +0300
tcache: Cleanup unused expression from tcache_lru_isolate()
Nobody use nr_to_isolate in further. It seems, it's historical leftover.
Signed-off-by: Kirill Tkhai <ktkhai at virtuozzo.com>
Acked-by: Andrey Ryabinin <aryabinin at virtuozzo.com>
---
mm/tcache.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/mm/tcache.c b/mm/tcache.c
index ab70af2..0e57ae6 100644
--- a/mm/tcache.c
+++ b/mm/tcache.c
@@ -1049,7 +1049,6 @@ tcache_lru_isolate(int nid, struct page **pages, int nr_to_isolate)
nr = __tcache_lru_isolate(pni, pages, nr_to_isolate);
ni->nr_pages -= nr;
nr_isolated += nr;
- nr_to_isolate -= nr;
if (!list_empty(&pni->lru))
__tcache_insert_reclaim_node(ni, pni);
More information about the Devel
mailing list