On Fri, 7 Sep 2012 16:20:32 +0200, Jean Delvare wrote: > As far as performance is concerned, I thought about storing the depth > value in struct i2c_adapter, but in fact I suspect the call to > i2c_adapter_depth(adap) will be dropped at compilation time if > CONFIG_PROVE_LOCKING isn't set, so the overhead should be zero. I confirm the nonexistent overhead, except that the relevant configuration option isn't CONFIG_PROVE_LOCKING but CONFIG_DEBUG_LOCK_ALLOC. I think this is acceptable, that's not an option distribution kernels would enable. -- Jean Delvare -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html