Commit 412523e9 authored by Chris Wright's avatar Chris Wright Committed by Linus Torvalds

[PATCH] RLIM: remove unused queued_signals global accounting

Remove unused queued_signals global accounting.
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 684c531c
...@@ -32,9 +32,6 @@ ...@@ -32,9 +32,6 @@
static kmem_cache_t *sigqueue_cachep; static kmem_cache_t *sigqueue_cachep;
atomic_t nr_queued_signals;
int max_queued_signals = 1024;
/* /*
* In POSIX a signal is sent either to a specific thread (Linux task) * In POSIX a signal is sent either to a specific thread (Linux task)
* or to the process as a whole (Linux thread group). How the signal * or to the process as a whole (Linux thread group). How the signal
......
...@@ -53,8 +53,6 @@ extern int C_A_D; ...@@ -53,8 +53,6 @@ extern int C_A_D;
extern int sysctl_overcommit_memory; extern int sysctl_overcommit_memory;
extern int sysctl_overcommit_ratio; extern int sysctl_overcommit_ratio;
extern int max_threads; extern int max_threads;
extern atomic_t nr_queued_signals;
extern int max_queued_signals;
extern int sysrq_enabled; extern int sysrq_enabled;
extern int core_uses_pid; extern int core_uses_pid;
extern char core_pattern[]; extern char core_pattern[];
...@@ -429,22 +427,6 @@ static ctl_table kern_table[] = { ...@@ -429,22 +427,6 @@ static ctl_table kern_table[] = {
.proc_handler = &proc_dointvec, .proc_handler = &proc_dointvec,
}, },
#endif #endif
{
.ctl_name = KERN_RTSIGNR,
.procname = "rtsig-nr",
.data = &nr_queued_signals,
.maxlen = sizeof(int),
.mode = 0444,
.proc_handler = &proc_dointvec,
},
{
.ctl_name = KERN_RTSIGMAX,
.procname = "rtsig-max",
.data = &max_queued_signals,
.maxlen = sizeof(int),
.mode = 0644,
.proc_handler = &proc_dointvec,
},
#ifdef CONFIG_SYSVIPC #ifdef CONFIG_SYSVIPC
{ {
.ctl_name = KERN_SHMMAX, .ctl_name = KERN_SHMMAX,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment