Re: [Devel] [PATCH rh7 v2 2/2] tcache: speedup tcaches operations on empty tcache.

2016-12-13 Thread Kirill Tkhai
On 13.12.2016 15:28, Andrey Ryabinin wrote: > If tcache is empty we can bail out immediately from > tcache_cleancache_[get_page, invalidate_page,invalidate_inode](). > As a fast way of identifying empty tcache this patch adds global atomic > counter of tcache nodes. > >

[Devel] [PATCH rh7 v2 2/2] tcache: speedup tcaches operations on empty tcache.

2016-12-13 Thread Andrey Ryabinin
If tcache is empty we can bail out immediately from tcache_cleancache_[get_page, invalidate_page,invalidate_inode](). As a fast way of identifying empty tcache this patch adds global atomic counter of tcache nodes. https://jira.sw.ru/browse/PSBM-56475 Signed-off-by: Andrey Ryabinin