Re: [RFC] put more pressure on proc/sysfs slab shrink

2016-10-21 Thread Dave Chinner
On Fri, Oct 21, 2016 at 01:35:14PM -0700, Shaohua Li wrote: > In our systems, proc/sysfs inode/dentry cache use more than 1G memory > even memory pressure is high sometimes. Since proc/sysfs is in-memory > filesystem, rebuilding the cache is fast. There is no point proc/sysfs > and disk fs have

Re: [RFC] put more pressure on proc/sysfs slab shrink

2016-10-21 Thread Dave Chinner
On Fri, Oct 21, 2016 at 01:35:14PM -0700, Shaohua Li wrote: > In our systems, proc/sysfs inode/dentry cache use more than 1G memory > even memory pressure is high sometimes. Since proc/sysfs is in-memory > filesystem, rebuilding the cache is fast. There is no point proc/sysfs > and disk fs have

[RFC] put more pressure on proc/sysfs slab shrink

2016-10-21 Thread Shaohua Li
In our systems, proc/sysfs inode/dentry cache use more than 1G memory even memory pressure is high sometimes. Since proc/sysfs is in-memory filesystem, rebuilding the cache is fast. There is no point proc/sysfs and disk fs have equal pressure for slab shrink. One idea is directly discarding

[RFC] put more pressure on proc/sysfs slab shrink

2016-10-21 Thread Shaohua Li
In our systems, proc/sysfs inode/dentry cache use more than 1G memory even memory pressure is high sometimes. Since proc/sysfs is in-memory filesystem, rebuilding the cache is fast. There is no point proc/sysfs and disk fs have equal pressure for slab shrink. One idea is directly discarding