Messages in this thread | | | Date | Sun, 14 Sep 2003 18:30:37 +0530 | From | Dipankar Sarma <> | Subject | Re: [patch] Make slab allocator work with SLAB_MUST_HWCACHE_ALIGN |
| |
On Sun, Sep 14, 2003 at 01:39:42PM +0530, Ravikiran G Thirumalai wrote: > The patch I posted earlier takes care of 1 & 2, but arbitraty alignment takes > care of all 4, and as you mentioned the patch is small enough. If interface
While we are at it, we should also probably look up the cache line size for a cpu family from a table, store it in some per-cpu data (cpuinfo_x86 ?) and provide an l1_cache_bytes() api to return it at run time.
Thanks Dipankar - 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/
| |