diff options
| author | Chris Wright <chrisw@osdl.org> | 2004-06-17 18:25:41 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-06-17 18:25:41 -0700 |
| commit | 412523e9949a2b48f5b74f19ebe48bbde8726bf5 (patch) | |
| tree | a2d9088e035ccd401e8b9847210cd2dc0487ba17 /kernel | |
| parent | 684c531cc11dfcd7df4f950ebcb0012f79788ca9 (diff) | |
[PATCH] RLIM: remove unused queued_signals global accounting
Remove unused queued_signals global accounting.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/signal.c | 3 | ||||
| -rw-r--r-- | kernel/sysctl.c | 18 |
2 files changed, 0 insertions, 21 deletions
diff --git a/kernel/signal.c b/kernel/signal.c index 25b4147e86f0..d41b3a0e8b7e 100644 --- a/kernel/signal.c +++ b/kernel/signal.c @@ -32,9 +32,6 @@ 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) * or to the process as a whole (Linux thread group). How the signal diff --git a/kernel/sysctl.c b/kernel/sysctl.c index ae990887f338..7dca63a88ea2 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -53,8 +53,6 @@ extern int C_A_D; extern int sysctl_overcommit_memory; extern int sysctl_overcommit_ratio; extern int max_threads; -extern atomic_t nr_queued_signals; -extern int max_queued_signals; extern int sysrq_enabled; extern int core_uses_pid; extern char core_pattern[]; @@ -429,22 +427,6 @@ static ctl_table kern_table[] = { .proc_handler = &proc_dointvec, }, #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 { .ctl_name = KERN_SHMMAX, |
