Re: Common [00/16] Sl[auo]b: Common code rework V8

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

 



On Thu, 2 Aug 2012, Christoph Lameter wrote:

> On Thu, 2 Aug 2012, Glauber Costa wrote:
>
> > Mine is similar, except:
> > 1) I don't create a kmalloc cache (shouldn't matter)
> > 2) I do it after SLAB_FULL.
>
> I do not really need to create the second cache.
> The destruction of the first fails.
>
> Its definitely the patch that moves the duping of the string to
> slab_common.c.

The problem is that I passed a string constant to
create_kmalloc_cache. Freeing the cache leads to an attempt to free the
string constant which causes kfree to fail.

Got to take that into account and restart the problem analysis.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>


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