>> 4*8 = 32 bytes, where did 256 bytes come from? > > You are right. It should be 32 bytes. I will change the wording in future > patch. The real calculation in code is right though.
I don't know if it makes sense to round up to a cache line. My suspicion is that it won't matter, as these fields will be read-mostly, on the other hand, wasting 32 bytes isn't exactly a problem, either. -hpa -- 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/