[Devel] [PATCH rh7 v3 00/10] tcache: Manage LRU lists under per-filesystem lock

Kirill Tkhai ktkhai at virtuozzo.com
Wed Aug 16 17:51:06 MSK 2017


Hi,

this is v3 of the patchset.

Changes to v2:
    Disable irqs in tcache_lru_isolate() [9/10]
    Move update_ni_rb_first() to "tcache: Cache rb_first() of reclaim tree in tcache_nodeinfo::rb_first".
    Add spin_lock_init() for lockdep [2/10]

---

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 |  138 ++++++++++++++++++++++++++++++++++++++++-------------------
 1 file changed, 94 insertions(+), 44 deletions(-)

--
Signed-off-by: Kirill Tkhai <ktkhai at virtuozzo.com>


More information about the Devel mailing list