Re: corrupted pvqspinlock in htab_map_update_elem

2021-02-01 Thread Waiman Long
On 2/1/21 1:09 PM, Dmitry Vyukov wrote: On Mon, Feb 1, 2021 at 6:54 PM Waiman Long wrote: On 2/1/21 6:23 AM, Peter Zijlstra wrote: On Mon, Feb 01, 2021 at 10:50:58AM +0100, Peter Zijlstra wrote: queued_spin_unlock arch/x86/include/asm/qspinlock.h:56 [inline] lockdep_unlock+0x10e/0x290

Re: corrupted pvqspinlock in htab_map_update_elem

2021-02-01 Thread Dmitry Vyukov
On Mon, Feb 1, 2021 at 6:54 PM Waiman Long wrote: > > On 2/1/21 6:23 AM, Peter Zijlstra wrote: > > On Mon, Feb 01, 2021 at 10:50:58AM +0100, Peter Zijlstra wrote: > > > >>> queued_spin_unlock arch/x86/include/asm/qspinlock.h:56 [inline] > >>> lockdep_unlock+0x10e/0x290 kernel/locking/lockdep.c

Re: corrupted pvqspinlock in htab_map_update_elem

2021-02-01 Thread Waiman Long
On 2/1/21 6:23 AM, Peter Zijlstra wrote: On Mon, Feb 01, 2021 at 10:50:58AM +0100, Peter Zijlstra wrote: queued_spin_unlock arch/x86/include/asm/qspinlock.h:56 [inline] lockdep_unlock+0x10e/0x290 kernel/locking/lockdep.c:124 debug_locks_off_graph_unlock kernel/locking/lockdep.c:165 [inlin

Re: corrupted pvqspinlock in htab_map_update_elem

2021-02-01 Thread Peter Zijlstra
On Mon, Feb 01, 2021 at 10:50:58AM +0100, Peter Zijlstra wrote: > > queued_spin_unlock arch/x86/include/asm/qspinlock.h:56 [inline] > > lockdep_unlock+0x10e/0x290 kernel/locking/lockdep.c:124 > > debug_locks_off_graph_unlock kernel/locking/lockdep.c:165 [inline] > > print_usage_bug kernel/lock

Re: corrupted pvqspinlock in htab_map_update_elem

2021-02-01 Thread Dmitry Vyukov
On Mon, Feb 1, 2021 at 10:51 AM Peter Zijlstra wrote: > > On Sun, Jan 31, 2021 at 09:42:53AM +0100, Dmitry Vyukov wrote: > > Hi, > > > > I am testing the following the program: > > https://gist.github.com/dvyukov/e5c0a8ef220ef856363c1080b0936a9e > > on the latest upstream 6642d600b541b81931fb1ab0c

Re: corrupted pvqspinlock in htab_map_update_elem

2021-02-01 Thread Peter Zijlstra
On Sun, Jan 31, 2021 at 09:42:53AM +0100, Dmitry Vyukov wrote: > Hi, > > I am testing the following the program: > https://gist.github.com/dvyukov/e5c0a8ef220ef856363c1080b0936a9e > on the latest upstream 6642d600b541b81931fb1ab0c041b0d68f77be7e and > getting the following crash. Config is: > http

corrupted pvqspinlock in htab_map_update_elem

2021-01-31 Thread Dmitry Vyukov
Hi, I am testing the following the program: https://gist.github.com/dvyukov/e5c0a8ef220ef856363c1080b0936a9e on the latest upstream 6642d600b541b81931fb1ab0c041b0d68f77be7e and getting the following crash. Config is: https://gist.github.com/dvyukov/16d9905e5ef35e44285451f1d330ddbc The program upd