Am 21.03.2015 um 16:34 schrieb Paolo Bonzini: > 32-bit PPC cannot do atomic operations on long long. Inside the loops, > we are already using local counters that are summed at the end of > the run---with one exception in rcu_read_stress_test: fix it to use > the same technique. Then, use a mutex to protect the global counts. > Performance does not matter there because every thread will only enter > the critical section once. > > Remaining uses of atomic instructions are for ints or pointers. > > Reported-by: Andreas Faerber <[email protected]> > Signed-off-by: Paolo Bonzini <[email protected]> > --- > tests/rcutorture.c | 20 ++++++++++++++++---- > 1 file changed, 16 insertions(+), 4 deletions(-)
Tested-by: Andreas Färber <[email protected]> This lets rcutorture pass, but the same error occurs in test-rcu-list... Btw any reason rcutorture does not fit one of the three naming schemes? Regards, Andreas -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu, Graham Norton; HRB 21284 (AG Nürnberg)
