Re: [RFC PATCH] proc_sysctl: free invalidate proc_sys_dentry

2016-08-21 Thread Xishi Qiu
On 2016/8/11 15:11, Xishi Qiu wrote: > From: Fengtiantian > ping > I find a issue in dentry cache used by sysctl proc. > If register sysctl proc file ,access the file and then unregister this file, > dentry in cache will keep increasing, and cause CPU softlockup。 > > I test in the kernel 3.1

[RFC PATCH] proc_sysctl: free invalidate proc_sys_dentry

2016-08-11 Thread Xishi Qiu
From: Fengtiantian I find a issue in dentry cache used by sysctl proc. If register sysctl proc file ,access the file and then unregister this file, dentry in cache will keep increasing, and cause CPU softlockup。 I test in the kernel 3.10.0-327. My testcase is : #/bin/sh while : do brc