Arnd Bergmann wrote: >Is it possible to make kmem_cache_create accept a user specified alignment >parameter? I suppose there are other cases where you want to force >a specific alignment that is different from the L1 cache lines. > > Attached is an old patch that implements user specified alignment - the only problem is that it's more than 2 years old :-( Additionally, redefining the meaning of the "offset" parameter is not pretty. OTHO noone uses offset and it's not implemented as intended by Bonwick, thus it doesn't matter. -- Manfred