Re: [PATCH] slab+slob: dup name string
From: Glauber Costa <hidden>
Date: 2012-05-24 12:08:57
Also in:
cgroups, lkml
From: Glauber Costa <hidden>
Date: 2012-05-24 12:08:57
Also in:
cgroups, lkml
On 05/24/2012 04:18 AM, Dave Chinner wrote:
quoted
Of course reasoning about why it was added helps (so let's try toquoted
determine that), but so far the only reasonably strong argument in favor of keeping it was robustness.I'm pretty sure it was added because there are slab names constructed by snprintf on a stack buffer, so the name doesn't exist beyond the slab initialisation function call... Cheers, Dave.
If that was the reason, we'd be seeing slab failing miserably where slub succeeds, since slab keeps no copy. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>