Re: [PATCH] blk-throttle: don't call xchg on bool

From: Jens Axboe
Date: Wed Mar 30 2011 - 06:21:22 EST


On 2011-03-30 01:14, Andreas Schwab wrote:
> xchg does not work portably with smaller than 32bit types.

Thanks Andreas, I guess if people look at the x86 implementation then
that's a worry.

--
Jens Axboe

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