[Devel] [PATCH rh7 v2 00/10] tcache: Manage LRU lists under per-filesystem lock
Kirill Tkhai
ktkhai at virtuozzo.com
Wed Aug 16 14:51:53 MSK 2017
Hi, this is the second version of patchset "Manage LRU lists under per-filesystem lock".
Changes:
Added patch [5/10] to precalculate rb_first of reclaim tree.
Added cleanup [4/5].
Also, small changes made to minimize patches lenght.
The patchset may have a continue, and we may try think how to escape
of ni->lock completely in the future. Also, tcache_nodeinfo::nr_pages
may be made per-cpu (or something like that), but this agenda is not for
this patchset.
---
Kirill Tkhai (10):
tcache: Decrement removed from LRU pages out of __tcache_lru_del()
tcache: Add tcache_pool_nodeinfo::lock
tcache: Cleanup unused expression from tcache_lru_isolate()
tcache: Remove excess variable from tcache_lru_isolate()
tcache: Cache rb_first() of reclaim tree in tcache_nodeinfo::rb_first
tcache: Make tcache_lru_isolate() keep ni->lock less
tcache: Move erase-insert logic out of tcache_check_events()
tcache: Make tcache_nodeinfo::nr_pages atomic_long_t
tcache: Use ni->lock only for inserting and erasing from rbtree.
tcache: Move add/sub out of pni->lock
mm/tcache.c | 137 ++++++++++++++++++++++++++++++++++++++++-------------------
1 file changed, 93 insertions(+), 44 deletions(-)
--
Signed-off-by: Kirill Tkhai <ktkhai at virtuozzo.com>
More information about the Devel
mailing list