Re: [PATCH -tip 1/3] locking/pvqspinlock: Fix div by 0 in qstats

2016-04-18 Thread Waiman Long
On 04/18/2016 02:31 AM, Davidlohr Bueso wrote: While playing with such statistics I ran into the following splat on a VM when opening pv_hash_hops: [ 25.267962] divide error: [#1] SMP ... [ 25.268807] CPU: 17 PID: 1018 Comm: cat Not tainted 4.6.0-rc3-debug+ #2 [ 25.268853] Hardware na

[PATCH -tip 1/3] locking/pvqspinlock: Fix div by 0 in qstats

2016-04-17 Thread Davidlohr Bueso
While playing with such statistics I ran into the following splat on a VM when opening pv_hash_hops: [ 25.267962] divide error: [#1] SMP ... [ 25.268807] CPU: 17 PID: 1018 Comm: cat Not tainted 4.6.0-rc3-debug+ #2 [ 25.268853] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS