On 7/18/19 10:36 AM, Waiman Long wrote: >>> CONFIG_SLUB_DEBUG depends on CONFIG_SYSFS. So the new shrink_us field >>> is always available to the shrink methods. >> Aside from minimal systems without CONFIG_SYSFS... Does this build without >> CONFIG_SYSFS? > The sysfs code in mm/slub.c is guarded by CONFIG_SLUB_DEBUG which, in > turn, depends on CONFIG_SYSFS. So if CONFIG_SYSFS is off, the shrink > sysfs methods will be off as well. I haven't tried doing a minimal > build. I will certainly try that, but I don't expect any problem here. I have tried a tiny config with slub. There was no compilation problem. -Longman