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

Andrey Ryabinin aryabinin at virtuozzo.com
Wed Aug 16 18:08:40 MSK 2017


On 08/16/2017 05:51 PM, Kirill Tkhai wrote:
> 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>
> 

Acked-by: Andrey Ryabinin <aryabinin at virtuozzo.com>


More information about the Devel mailing list