Re: [PATCH] disable softlockup detection at boottime

From: Ingo Molnar
Date: Tue Apr 29 2008 - 08:35:53 EST



* Dimitri Sivanich <sivanich@xxxxxxx> wrote:

> On Mon, Apr 28, 2008 at 06:55:44PM +0200, Ingo Molnar wrote:
> >
> > good idea - but why dont you set softlockup_thresh to 0, which is the
> > "off" switch already? (and that way it can be turned back on later as
> > well, by the sysadmin.)
> >
>
> I'm getting unaligned access errors trying to set it to anything, so
> it's not working for me currently (2.6.25):
>
> It's tripping up on the address of 'one', which is an int that is not
> properly aligned for the unsigned long comparison in
> proc_doulongvec_minmax on my 64 bit machine. Also, the value '0' is
> invalid for softlockup_thresh, correct?
>
> I temporarily got around these issues with the following hack.

ah, sorry. But ... perhaps using threshold -1 would be the most
intuitive setting? (for 'infinite timeout' ==> softlockup detector
turned off) That way it all becomes configurable as part of the
threshold? No strong opinion though.

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/