aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorFengfei Xi <[email protected]>2020-12-10 08:21:34 +0000
committerJonathan Corbet <[email protected]>2020-12-21 16:59:07 +0000
commitc635b0cea6b812898563809a13e65278989b2c72 (patch)
treeff73b62dd8cd8d7988d3370b1339cc4521baf28d /net/switchdev/switchdev.c
parentDocumentation/submitting-patches: Document the SoB chain (diff)
downloadkernel-c635b0cea6b812898563809a13e65278989b2c72.tar.gz
kernel-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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Corbet <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions