Re: [PATCH -next 12/15] fs: dcache: move the sysctl into its own file
Christian Brauner <[email protected]>
| Newsgroups | gmane.linux.kernel.lsm,gmane.linux.ports.sh.devel,gmane.linux.kernel,gmane.linux.file-systems,gmane.linux.kernel.mm,gmane.linux.nfs,gmane.linux.network |
|---|---|
| Message-ID | <20240902-kumpan-phosphor-439fd7ceecda@brauner> |
On Mon, Aug 26, 2024 at 08:04:46PM GMT, Kaixiong Yu wrote: > The sysctl_vfs_cache_pressure belongs to fs/dcache.c, move it to > its own file from kernel/sysctl.c. As a part of fs/dcache.c cleaning, > sysctl_vfs_cache_pressure is changed to a static variable, and export > vfs_pressure_ratio with EXPORT_SYMBOL_GPL to be used by other files. > And move the unneeded include(linux/dcache.h). > > Signed-off-by: Kaixiong Yu <[email protected]> > --- Reviewed-by: Christian Brauner <[email protected]>