Andrew Morton wrote: >The pointer offsetting tricks are rather unattractive. Is it not possible >to simple aggregate the refcount into the refcounted structure, use >container_of()? > > Patch attached: it worked quite well and I've used the chance to reduce the size of the vmalloc header a bit: the work_struct and the rcu_head structures can be a union. Signed-Off-By: Manfred Spraul