diff options
Diffstat (limited to 'kernel/softlockup.c')
-rw-r--r-- | kernel/softlockup.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kernel/softlockup.c b/kernel/softlockup.c index 02f0ad534441..c1d76552446e 100644 --- a/kernel/softlockup.c +++ b/kernel/softlockup.c | |||
@@ -24,8 +24,8 @@ static DEFINE_PER_CPU(unsigned long, touch_timestamp); | |||
24 | static DEFINE_PER_CPU(unsigned long, print_timestamp); | 24 | static DEFINE_PER_CPU(unsigned long, print_timestamp); |
25 | static DEFINE_PER_CPU(struct task_struct *, watchdog_task); | 25 | static DEFINE_PER_CPU(struct task_struct *, watchdog_task); |
26 | 26 | ||
27 | static int did_panic; | 27 | static int __read_mostly did_panic; |
28 | int softlockup_thresh = 60; | 28 | unsigned long __read_mostly softlockup_thresh = 60; |
29 | 29 | ||
30 | static int | 30 | static int |
31 | softlock_panic(struct notifier_block *this, unsigned long event, void *ptr) | 31 | softlock_panic(struct notifier_block *this, unsigned long event, void *ptr) |
@@ -121,14 +121,14 @@ void softlockup_tick(void) | |||
121 | /* | 121 | /* |
122 | * Have a reasonable limit on the number of tasks checked: | 122 | * Have a reasonable limit on the number of tasks checked: |
123 | */ | 123 | */ |
124 | unsigned long sysctl_hung_task_check_count = 1024; | 124 | unsigned long __read_mostly sysctl_hung_task_check_count = 1024; |
125 | 125 | ||
126 | /* | 126 | /* |
127 | * Zero means infinite timeout - no checking done: | 127 | * Zero means infinite timeout - no checking done: |
128 | */ | 128 | */ |
129 | unsigned long sysctl_hung_task_timeout_secs = 120; | 129 | unsigned long __read_mostly sysctl_hung_task_timeout_secs = 120; |
130 | 130 | ||
131 | long sysctl_hung_task_warnings = 10; | 131 | unsigned long __read_mostly sysctl_hung_task_warnings = 10; |
132 | 132 | ||
133 | /* | 133 | /* |
134 | * Only do the hung-tasks check on one CPU: | 134 | * Only do the hung-tasks check on one CPU: |