What's the difference between this definition of 'offset' and alignment?
alignment means that (addr%alignment==0)
offset means that (addr1-addr2 == n*offset)
Isn't the only difference the alignment of the first object in a slab?
> As no one uses the feature it could well be broken, but is that a reason
> to change its meaning?
>
Some hardware drivers use HW_CACHEALIGN and assume certain byte
alignments, and arm needs 1024 byte aligned blocks.
-- Manfred - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/