Re: [PATCH] mm, slub: do not add duplicate sysfs

From: Christoph Lameter
Date: Wed Aug 27 2014 - 11:25:19 EST


On Wed, 27 Aug 2014, WANG Chao wrote:

> Mergeable slab can be changed to unmergeable after tuning its sysfs
> interface, for example echo 1 > trace. But the sysfs kobject with the unique
> name will be still there.

Hmmm... Merging should be switched off if any debugging features are
enabled. Maybe we need to disable modifying debug options for an active
cache? This could cause other issues as well since the debug options will
then apply to multiple caches.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/