On Sun, Nov 5, 2017 at 6:28 PM, Liu Yu <liuyu...@gmail.com> wrote: > - spin_lock_bh(&head->lock); > + ret = spin_trylock(&head->lock);
Clearly you want spin_trylock_bh() instead.
On Sun, Nov 5, 2017 at 6:28 PM, Liu Yu <liuyu...@gmail.com> wrote: > - spin_lock_bh(&head->lock); > + ret = spin_trylock(&head->lock);
Clearly you want spin_trylock_bh() instead.