Hi, Johannes. 2012/10/2 Johannes Berg <johannes@xxxxxxxxxxxxxxxx>: > Hi, > > I just noticed that slub's kmem_cache_create() will kstrdup() the name, > while slab doesn't. That's a little confusing, since when you look at > slub you can easily get away with passing a string you built on the > stack, while that will then lead to very strange results (and possibly > crashes?) with slab. As far as I know, this issue is already fixed. However, fix for this is not merged into mainline yet. You can find the fix in common_for_cgroups branch of Pekka's git tree. git://git.kernel.org/pub/scm/linux/kernel/git/penberg/linux.git slab/common-for-cgroups -- 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>