On Fri, Jun 26, 2015 at 09:45:25AM -0400, Vivek Goyal wrote: > I was just curious that why aux_cnt is different from rest of the stats. > (It is atomic64_t while others are not).
Ooh because otherwise we'd have to protect it with sth - a spinlock, u64 stat sync thing or whatever. It's just a lot simpler and more robust to use atomics. Thanks. -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/