On Wed, 13 Jun 2018 09:58:30 +0200, Sebastian Andrzej Siewior wrote: > In commit 804209d8a009 ("lib/percpu_ida.c: use _irqsave() instead of > local_irq_save() + spin_lock") I inlined alloc_local_tag() and mixed up > the >= check from percpu_ida_alloc() with the one in alloc_local_tag(). > > Don't alloc from per-CPU freelist if ->nr_free is zero. > > Fixes: 804209d8a009 ("lib/percpu_ida.c: use _irqsave() instead of local_irq_save() + spin_lock") > Reported-by: David Disseldorp <ddiss@xxxxxxx> > Signed-off-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx> > --- > > David, could please check if this works for you? Works for me. Thanks for the quick fix, Sebastian. Cheers, David -- To unsubscribe from this list: send the line "unsubscribe target-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html