# 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/korg/gcc-8.1.0-nolibc/aarch64-linux/bin/aarch64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/aarch64-linux/bin/aarch64-linux-ld --version # < git log --format=%s --max-count=1 af0c9af1b3f66052c369d08be3f60fa9a9559e48 # < make -s -j 8 ARCH=arm64 O=/kisskb/build/linus_arm64-allmodconfig_arm64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/aarch64-linux/bin/aarch64-linux- allmodconfig # make -s -j 8 ARCH=arm64 O=/kisskb/build/linus_arm64-allmodconfig_arm64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/aarch64-linux/bin/aarch64-linux- /kisskb/src/arch/arm64/boot/dts/rockchip/rk3399-gru-bob.dts:25.9-29.5: Warning (graph_port): /edp-panel/ports: graph port node name should be 'port' /kisskb/src/arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts:46.9-50.5: Warning (graph_port): /edp-panel/ports: graph port node name should be 'port' /kisskb/src/arch/arm64/boot/dts/rockchip/rk3399-sapphire-excavator.dts:94.9-98.5: Warning (graph_port): /edp-panel/ports: graph port node name should be 'port' In file included from /kisskb/src/include/asm-generic/bug.h:18, from /kisskb/src/arch/arm64/include/asm/bug.h:37, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/include/linux/mmdebug.h:5, from /kisskb/src/include/linux/mm.h:9, from /kisskb/src/drivers/dma/imx-dma.c:14: /kisskb/src/drivers/dma/imx-dma.c: In function 'imxdma_sg_next': /kisskb/src/include/linux/kernel.h:846:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^~ /kisskb/src/include/linux/kernel.h:860:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:870:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:879:19: note: in expansion of macro '__careful_cmp' #define min(x, y) __careful_cmp(x, y, <) ^~~~~~~~~~~~~ /kisskb/src/drivers/dma/imx-dma.c:288:8: note: in expansion of macro 'min' now = min(d->len, sg_dma_len(sg)); ^~~ /kisskb/src/drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_crat.c:866:5: warning: "CONFIG_X86_64" is not defined, evaluates to 0 [-Wundef] #if CONFIG_X86_64 ^~~~~~~~~~~~~ Completed OK # rm -rf /kisskb/build/linus_arm64-allmodconfig_arm64-gcc8 # Build took: 0:31:40.224698