diff options
Diffstat (limited to 'kernel/sysctl.c')
| -rw-r--r-- | kernel/sysctl.c | 11 | 
1 files changed, 9 insertions, 2 deletions
| diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 287862f91717..afad085960b8 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -204,8 +204,7 @@ static int max_extfrag_threshold = 1000;  #if defined(CONFIG_BPF_SYSCALL) && defined(CONFIG_SYSCTL)  static int bpf_stats_handler(struct ctl_table *table, int write, -			     void __user *buffer, size_t *lenp, -			     loff_t *ppos) +			     void *buffer, size_t *lenp, loff_t *ppos)  {  	struct static_key *key = (struct static_key *)table->data;  	static int saved_val; @@ -2913,6 +2912,14 @@ static struct ctl_table vm_table[] = {  		.proc_handler	= percpu_pagelist_fraction_sysctl_handler,  		.extra1		= SYSCTL_ZERO,  	}, +	{ +		.procname	= "page_lock_unfairness", +		.data		= &sysctl_page_lock_unfairness, +		.maxlen		= sizeof(sysctl_page_lock_unfairness), +		.mode		= 0644, +		.proc_handler	= proc_dointvec_minmax, +		.extra1		= SYSCTL_ZERO, +	},  #ifdef CONFIG_MMU  	{  		.procname	= "max_map_count", |