On 01/23/2018 11:56 AM, Kirill Tkhai wrote: > tcache_attach_page() tcache_invalidate_node() > .. __tcache_lookup_node() > .. __tcache_delete_node() > Check node->invalidated .. > tcache_page_tree_insert() .. > tcache_lru_add() .. > .. tcache_invalidate_node_pages() > .. node->invalidated = true > > Check nr_page to determ if there is a race and repeat > node pages iterations if so. > > v2: Move invalidate assignment down in tcache_invalidate_node_tree(). > v3: Synchronize sched in case of race with tcache_shrink_count() too > to minimize repeats numbers. > > Signed-off-by: Kirill Tkhai <[email protected]> > ---
Acked-by: Andrey Ryabinin <[email protected]> _______________________________________________ Devel mailing list [email protected] https://lists.openvz.org/mailman/listinfo/devel
