Re: [RFC PATCH 6/6] workqueue: use kmalloc_align() instead ofhacking

From: Christoph Lameter
Date: Tue Mar 20 2012 - 11:15:09 EST


On Tue, 20 Mar 2012, Lai Jiangshan wrote:

> kmalloc_align() makes the code simpler.

Another approach would be to simply create a new slab cache using
kmem_cache_create() with the desired alignment and allocate from
that.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/