summaryrefslogtreecommitdiffstats
path: root/fs/inode.c
diff options
context:
space:
mode:
authorFengfei Xi <xi.fengfei@h3c.com>2020-12-10 16:21:34 +0800
committerJonathan Corbet <corbet@lwn.net>2020-12-21 09:59:07 -0700
commitc635b0cea6b812898563809a13e65278989b2c72 (patch)
treeff73b62dd8cd8d7988d3370b1339cc4521baf28d /fs/inode.c
parent9bf19b78a203b6ed20ed7b5d7222f5ef7a49aed4 (diff)
downloadlinux-stable-c635b0cea6b812898563809a13e65278989b2c72.tar.gz
linux-stable-c635b0cea6b812898563809a13e65278989b2c72.tar.bz2
linux-stable-c635b0cea6b812898563809a13e65278989b2c72.zip
docs: admin-guide: Fix default value of max_map_count in sysctl/vm.rst
Since the default value of sysctl_max_map_count is defined as DEFAULT_MAX_MAP_COUNT from mm/util.c int sysctl_max_map_count __read_mostly = DEFAULT_MAX_MAP_COUNT; DEFAULT_MAX_MAP_COUNT is defined as 65530 (65535-5) in include/linux/mm.h #define MAPCOUNT_ELF_CORE_MARGIN (5) #define DEFAULT_MAX_MAP_COUNT (USHRT_MAX - MAPCOUNT_ELF_CORE_MARGIN) Signed-off-by: Fengfei Xi <xi.fengfei@h3c.com> Link: https://lore.kernel.org/r/20201210082134.36957-1-xi.fengfei@h3c.com Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'fs/inode.c')
0 files changed, 0 insertions, 0 deletions