diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-15 16:59:31 -0400 | 
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-15 16:59:31 -0400 | 
| commit | 64fd52a52077d3cd5a778ca031c0aaecf885eaa6 (patch) | |
| tree | 00d72f4aac587eeeff89b8af369250725bf83c6a /kernel/sysctl.c | |
| parent | fe1a6875fcaaac2041945008a9875d2c07be1d9b (diff) | |
| parent | 6c9fcaf2eec1b9f85226a694230dd957dd7926b3 (diff) | |
Merge branch 'core/rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'core/rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (23 commits)
  rcu classic: update qlen when cpu offline
  rcu: make rcutorture even more vicious: invoke RCU readers from irq handlers (timers)
  rcu: make quiescent rcutorture less power-hungry
  rcu, rcutorture: make quiescent rcutorture less power-hungry
  rcu: make rcutorture more vicious: reinstate boot-time testing
  rcu: make rcutorture more vicious: add stutter feature
  rcutorture: WARN_ON_ONCE(1) when detecting an error
  rcu: remove unused field struct rcu_data::rcu_tasklet
  Revert "prohibit rcutorture from being compiled into the kernel"
  rcu: fix nf_conntrack_helper.c build bug
  rculist.h: fix include in net/netfilter/nf_conntrack_netlink.c
  rcu: remove duplicated include in kernel/rcupreempt.c
  rcu: remove duplicated include in kernel/rcupreempt_trace.c
  RCU, rculist.h: fix list iterators
  rcu: fix rcu_try_flip_waitack_needed() to prevent grace-period stall
  rculist.h: use the rcu API
  rcu: split list.h and move rcu-protected lists into rculist.h
  sched: 1Q08 RCU doc update, add call_rcu_sched()
  rcu: add call_rcu_sched() and friends to rcutorture
  rcu: add rcu_barrier_sched() and rcu_barrier_bh()
  ...
Diffstat (limited to 'kernel/sysctl.c')
| -rw-r--r-- | kernel/sysctl.c | 13 | 
1 files changed, 13 insertions, 0 deletions
| diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 0d562d6531eb..6b16e16428d8 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c | |||
| @@ -83,6 +83,9 @@ extern int maps_protect; | |||
| 83 | extern int sysctl_stat_interval; | 83 | extern int sysctl_stat_interval; | 
| 84 | extern int latencytop_enabled; | 84 | extern int latencytop_enabled; | 
| 85 | extern int sysctl_nr_open_min, sysctl_nr_open_max; | 85 | extern int sysctl_nr_open_min, sysctl_nr_open_max; | 
| 86 | #ifdef CONFIG_RCU_TORTURE_TEST | ||
| 87 | extern int rcutorture_runnable; | ||
| 88 | #endif /* #ifdef CONFIG_RCU_TORTURE_TEST */ | ||
| 86 | 89 | ||
| 87 | /* Constants used for minimum and maximum */ | 90 | /* Constants used for minimum and maximum */ | 
| 88 | #if defined(CONFIG_DETECT_SOFTLOCKUP) || defined(CONFIG_HIGHMEM) | 91 | #if defined(CONFIG_DETECT_SOFTLOCKUP) || defined(CONFIG_HIGHMEM) | 
| @@ -820,6 +823,16 @@ static struct ctl_table kern_table[] = { | |||
| 820 | .child = key_sysctls, | 823 | .child = key_sysctls, | 
| 821 | }, | 824 | }, | 
| 822 | #endif | 825 | #endif | 
| 826 | #ifdef CONFIG_RCU_TORTURE_TEST | ||
| 827 | { | ||
| 828 | .ctl_name = CTL_UNNUMBERED, | ||
| 829 | .procname = "rcutorture_runnable", | ||
| 830 | .data = &rcutorture_runnable, | ||
| 831 | .maxlen = sizeof(int), | ||
| 832 | .mode = 0644, | ||
| 833 | .proc_handler = &proc_dointvec, | ||
| 834 | }, | ||
| 835 | #endif | ||
| 823 | /* | 836 | /* | 
| 824 | * NOTE: do not add new entries to this table unless you have read | 837 | * NOTE: do not add new entries to this table unless you have read | 
| 825 | * Documentation/sysctl/ctl_unnumbered.txt | 838 | * Documentation/sysctl/ctl_unnumbered.txt | 
