On Fri, 2007-10-26 at 13:47 +1000, Nick Piggin wrote: > I don't think the previous code was wrong... it's not a locked section > > and we don't care about ordering previous stores. It's an > allocation, it > > should be fine. In general, bitmap allocators should be allright. > > Well if it is just allocating an arbitrary _number_ out of a bitmap > and nothing else (eg. like the pid allocator), then you don't need > barriers.
Yup, that's what it does. Cheers, Ben. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/