Re: [PATCH] percpu_ida: Handle out-of-tags gracefully

From: Bart Van Assche
Date: Wed Mar 12 2014 - 12:16:34 EST


On 03/12/14 16:21, Alexander Gordeev wrote:
> While 'remote->nr_free' could be dropped on another CPU it still does not
> explain how steal_tags() enters the loop, but fails to locate 'cpus_have_tags'
> count of bits.
>
> So although v2 of your patch fixes the crash it does not address the root
> cause IMHO.

Hmm ... you are probably right. I will analyze this further and see what
I can come up with.

Bart.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/