Re: [PATCH v5 2/6] fs/dcache: Make negative dentry tracking configurable

2018-07-02 Thread Waiman Long
On 07/03/2018 05:12 AM, Andrew Morton wrote: > On Mon, 2 Jul 2018 13:51:59 +0800 Waiman Long wrote: > >> The negative dentry tracking is made a configurable option so that >> users who don't care about negative dentry tracking will have the >> option to disable it. The new config option DCACHE_TR

Re: [PATCH v5 2/6] fs/dcache: Make negative dentry tracking configurable

2018-07-02 Thread Andrew Morton
On Mon, 2 Jul 2018 13:51:59 +0800 Waiman Long wrote: > The negative dentry tracking is made a configurable option so that > users who don't care about negative dentry tracking will have the > option to disable it. The new config option DCACHE_TRACK_NEG_ENTRY > is disabled by default. > > If thi

[PATCH v5 2/6] fs/dcache: Make negative dentry tracking configurable

2018-07-01 Thread Waiman Long
The negative dentry tracking is made a configurable option so that users who don't care about negative dentry tracking will have the option to disable it. The new config option DCACHE_TRACK_NEG_ENTRY is disabled by default. If this option is enabled, a new kernel parameter "neg_dentry_pc=<%>" allo