Re: [PATCH] idr: Use this_cpu_ptr() for percpu_ida

From: Christoph Lameter
Date: Thu Aug 22 2013 - 12:51:38 EST


On Wed, 21 Aug 2013, Andrew Morton wrote:

> The lock is needed so that one cpu can steal tags from another cpu's cache.
> See (the needlessly inlined!) steal_tags().

Stealing tags could also be done via IPIs or some other things.

--
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/