Re: [PATCH] mm-slab: allocate kmem_cache with __GFP_REPEAT

From: Eric Dumazet
Date: Thu Jul 21 2011 - 04:44:19 EST


Le mercredi 20 juillet 2011 Ã 09:52 -0500, Christoph Lameter a Ãcrit :

> We should be making it a per cpu pointer like slub then. I looked at what
> it would take to do so a couple of month ago but it was quite invasive.
>

I took a look at this too, but using percpu data would consume more
memory, because percpu allocator allocates memory blobs for all possible
cpus, while current code handles online/offline cpu nicely.



--
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/