Commit 3aef1bde authored by Anton Blanchard's avatar Anton Blanchard Committed by Linus Torvalds

[PATCH] quieten softlockup at boot

On a large SMP box we get a lot of softlockup thread XX started lines.
Signed-off-by: default avatarAnton Blanchard <anton@samba.org>
Acked-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 90d45d17
...@@ -73,9 +73,6 @@ void softlockup_tick(struct pt_regs *regs) ...@@ -73,9 +73,6 @@ void softlockup_tick(struct pt_regs *regs)
static int watchdog(void * __bind_cpu) static int watchdog(void * __bind_cpu)
{ {
struct sched_param param = { .sched_priority = 99 }; struct sched_param param = { .sched_priority = 99 };
int this_cpu = (long) __bind_cpu;
printk("softlockup thread %d started up.\n", this_cpu);
sched_setscheduler(current, SCHED_FIFO, &param); sched_setscheduler(current, SCHED_FIFO, &param);
current->flags |= PF_NOFREEZE; current->flags |= PF_NOFREEZE;
......
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