# git rev-parse -q --verify af0c9af1b3f66052c369d08be3f60fa9a9559e48^{commit} af0c9af1b3f66052c369d08be3f60fa9a9559e48 already have revision, skipping fetch # git checkout -q -f -B kisskb af0c9af1b3f66052c369d08be3f60fa9a9559e48 # git clean -qxdf # < git log -1 # commit af0c9af1b3f66052c369d08be3f60fa9a9559e48 # Author: Waiman Long # Date: Wed Jan 30 13:52:38 2019 -0500 # # fs/dcache: Track & report number of negative dentries # # The current dentry number tracking code doesn't distinguish between # positive & negative dentries. It just reports the total number of # dentries in the LRU lists. # # As excessive number of negative dentries can have an impact on system # performance, it will be wise to track the number of positive and # negative dentries separately. # # This patch adds tracking for the total number of negative dentries in # the system LRU lists and reports it in the 5th field in the # /proc/sys/fs/dentry-state file. The number, however, does not include # negative dentries that are in flight but not in the LRU yet as well as # those in the shrinker lists which are on the way out anyway. # # The number of positive dentries in the LRU lists can be roughly found by # subtracting the number of negative dentries from the unused count. # # Matthew Wilcox had confirmed that since the introduction of the # dentry_stat structure in 2.1.60, the dummy array was there, probably for # future extension. They were not replacements of pre-existing fields. # So no sane applications that read the value of /proc/sys/fs/dentry-state # will do dummy thing if the last 2 fields of the sysctl parameter are not # zero. IOW, it will be safe to use one of the dummy array entry for # negative dentry count. # # Signed-off-by: Waiman Long # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux-gcc --version # < /opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux-ld --version # < git log --format=%s --max-count=1 af0c9af1b3f66052c369d08be3f60fa9a9559e48 # < make -s -j 8 ARCH=sh O=/kisskb/build/linus_edosk7705_defconfig_sh4 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux- edosk7705_defconfig # make -s -j 8 ARCH=sh O=/kisskb/build/linus_edosk7705_defconfig_sh4 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux- Generating include/generated/machtypes.h :1318:2: warning: #warning syscall pkey_mprotect not implemented [-Wcpp] :1321:2: warning: #warning syscall pkey_alloc not implemented [-Wcpp] :1324:2: warning: #warning syscall pkey_free not implemented [-Wcpp] :1327:2: warning: #warning syscall statx not implemented [-Wcpp] :1333:2: warning: #warning syscall io_pgetevents not implemented [-Wcpp] :1336:2: warning: #warning syscall rseq not implemented [-Wcpp] /kisskb/src/arch/sh/kernel/cpu/sh3/../../entry-common.S: Assembler messages: /kisskb/src/arch/sh/kernel/cpu/sh3/../../entry-common.S:385: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/sh3/../../entry-common.S:388: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence /kisskb/src/fs/proc/inode.c: In function 'proc_reg_open': /kisskb/src/include/linux/list.h:65:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c:339:21: note: 'pdeo' was declared here /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:186:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/sh/clk/cpg.c: In function 'r8': /kisskb/src/drivers/sh/clk/cpg.c:41:2: warning: passing argument 1 of 'ioread8' discards 'const' qualifier from pointer target type [enabled by default] /kisskb/src/include/asm-generic/iomap.h:29:21: note: expected 'void *' but argument is of type 'const void *' /kisskb/src/drivers/sh/clk/cpg.c: In function 'r16': /kisskb/src/drivers/sh/clk/cpg.c:46:2: warning: passing argument 1 of 'ioread16' discards 'const' qualifier from pointer target type [enabled by default] /kisskb/src/include/asm-generic/iomap.h:30:21: note: expected 'void *' but argument is of type 'const void *' /kisskb/src/drivers/sh/clk/cpg.c: In function 'r32': /kisskb/src/drivers/sh/clk/cpg.c:51:2: warning: passing argument 1 of 'ioread32' discards 'const' qualifier from pointer target type [enabled by default] /kisskb/src/include/asm-generic/iomap.h:32:21: note: expected 'void *' but argument is of type 'const void *' Kernel: arch/sh/boot/zImage is ready Completed OK # rm -rf /kisskb/build/linus_edosk7705_defconfig_sh4 # Build took: 0:00:25.389709