Re: [PATCH V2 1/2] rbtree_latch: quit searching when reaching to maximum depth

2020-05-22 Thread Lai Jiangshan
On Sat, May 16, 2020 at 12:01 AM Lai Jiangshan wrote: > > lib/rbtree.c has ensured that there is not possible to > inadvertently cause (temporary) loops in the tree structure > as seen in program order of the modifier. But loop is still > possible to be seen in searcher due to CPU's reordering. >

[PATCH V2 1/2] rbtree_latch: quit searching when reaching to maximum depth

2020-05-15 Thread Lai Jiangshan
lib/rbtree.c has ensured that there is not possible to inadvertently cause (temporary) loops in the tree structure as seen in program order of the modifier. But loop is still possible to be seen in searcher due to CPU's reordering. for example: modifiersearcher