.data = &sysctl_max_map_count,
.maxlen = sizeof(sysctl_max_map_count),
.mode = 0644,
- .proc_handler = proc_dointvec_minmax,
- .extra1 = &zero,
+ .proc_handler = proc_dointvec_unsigned,
},
#else
{
.data = &sysctl_nr_trim_pages,
.maxlen = sizeof(sysctl_nr_trim_pages),
.mode = 0644,
- .proc_handler = proc_dointvec_minmax,
- .extra1 = &zero,
+ .proc_handler = proc_dointvec_unsigned,
},
#endif
{
.data = &block_dump,
.maxlen = sizeof(block_dump),
.mode = 0644,
- .proc_handler = proc_dointvec,
- .extra1 = &zero,
+ .proc_handler = proc_dointvec_unsigned,
},
{
.procname = "vfs_cache_pressure",
.data = &sysctl_vfs_cache_pressure,
.maxlen = sizeof(sysctl_vfs_cache_pressure),
.mode = 0644,
- .proc_handler = proc_dointvec,
- .extra1 = &zero,
+ .proc_handler = proc_dointvec_unsigned,
},
#ifdef HAVE_ARCH_PICK_MMAP_LAYOUT
{
.data = &sysctl_legacy_va_layout,
.maxlen = sizeof(sysctl_legacy_va_layout),
.mode = 0644,
- .proc_handler = proc_dointvec,
- .extra1 = &zero,
+ .proc_handler = proc_dointvec_unsigned,
},
#endif
#ifdef CONFIG_NUMA
.data = &zone_reclaim_mode,
.maxlen = sizeof(zone_reclaim_mode),
.mode = 0644,
- .proc_handler = proc_dointvec,
- .extra1 = &zero,
+ .proc_handler = proc_dointvec_unsigned,
},
{
.procname = "min_unmapped_ratio",
.data = &vdso_enabled,
.maxlen = sizeof(vdso_enabled),
.mode = 0644,
- .proc_handler = proc_dointvec,
- .extra1 = &zero,
+ .proc_handler = proc_dointvec_unsigned,
},
#endif
#ifdef CONFIG_HIGHMEM