Re: [PATCH] slab+slob: dup name string

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/22/2012 05:56 PM, Christoph Lameter wrote:
On Mon, 21 May 2012, David Rientjes wrote:

This doesn't work if you kmem_cache_destroy() a cache that was created
when g_cpucache_cpu<= EARLY, the kfree() will explode.  That never
happens for any existing cache created in kmem_cache_init(), but this
would introduce the first roadblock in doing so.  So you'll need some
magic to determine whether the cache was allocated statically and suppress
the kfree() in such a case.

Nope. Only slab management caches will be created that early. The patch is
fine as is.



I think that's precisely David's point: that we might want to destroy them eventually.
--
To unsubscribe from this list: send the line "unsubscribe cgroups" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [Monitors]

  Powered by Linux