Re: [PATCH] tests: Fix a bug with count variables

2020-03-06 Thread Tianjia Zhang
On 2020/3/6 18:53, Stefan Hajnoczi wrote: On Fri, Feb 07, 2020 at 07:54:33PM +0800, Tianjia Zhang wrote: The counting code here should use the local variable n_nodes_local. Otherwise, the variable n_nodes is counting incorrectly, causing the counting logic of the code to be wrong. Signed-off

Re: [PATCH] tests: Fix a bug with count variables

2020-03-06 Thread Tianjia Zhang
On 2020/3/6 18:22, Tianjia Zhang wrote: On 2020/2/12 21:59, Stefan Hajnoczi wrote: On Fri, Feb 07, 2020 at 07:54:33PM +0800, Tianjia Zhang wrote: The counting code here should use the local variable n_nodes_local. Otherwise, the variable n_nodes is counting incorrectly, causing the counting

Re: [PATCH] tests: Fix a bug with count variables

2020-03-06 Thread Stefan Hajnoczi
On Fri, Feb 07, 2020 at 07:54:33PM +0800, Tianjia Zhang wrote: > The counting code here should use the local variable n_nodes_local. > Otherwise, the variable n_nodes is counting incorrectly, causing the > counting logic of the code to be wrong. > > Signed-off-by: Tianjia Zhang > --- > tests/tes

Re: [PATCH] tests: Fix a bug with count variables

2020-02-12 Thread Stefan Hajnoczi
On Fri, Feb 07, 2020 at 07:54:33PM +0800, Tianjia Zhang wrote: > The counting code here should use the local variable n_nodes_local. > Otherwise, the variable n_nodes is counting incorrectly, causing the > counting logic of the code to be wrong. > > Signed-off-by: Tianjia Zhang > --- > tests/tes

[PATCH] tests: Fix a bug with count variables

2020-02-07 Thread Tianjia Zhang
The counting code here should use the local variable n_nodes_local. Otherwise, the variable n_nodes is counting incorrectly, causing the counting logic of the code to be wrong. Signed-off-by: Tianjia Zhang --- tests/test-rcu-list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --gi