On Sun, 22 Jan 2017 12:44:44 +0100 Jiri Pirko <j...@resnulli.us> wrote:
> +static LIST_HEAD(psample_groups_list); > +static DEFINE_SPINLOCK(psample_groups_lock); > + Why not a mutex? You aren't acquiring this in IRQ context?
On Sun, 22 Jan 2017 12:44:44 +0100 Jiri Pirko <j...@resnulli.us> wrote:
> +static LIST_HEAD(psample_groups_list); > +static DEFINE_SPINLOCK(psample_groups_lock); > + Why not a mutex? You aren't acquiring this in IRQ context?