Re: [PATCH] slab+slob: dup name string
From: Glauber Costa <hidden>
Date: 2012-05-23 15:17:56
Also in:
linux-mm, lkml
From: Glauber Costa <hidden>
Date: 2012-05-23 15:17:56
Also in:
linux-mm, lkml
On 05/23/2012 07:17 PM, Christoph Lameter wrote:
quoted
So if I understand it correctly, this is mostly because the name stringquoted
outlives the cache in the slub case, because of merging ?Well this means we really only need the copying in slub which we already have. The problem is that you want to make this behavior uniform over all allocators so that you do not have to allocate the string on your own. Could you wait (and not rely on copying) until I am through with the extraction project for common code for the allocators? At that point we can resolve this issue consistently for all allocators.
Yes, I can. Let's just defer this for now.