Messages in this thread | | | Date | Tue, 29 Apr 2008 14:35:22 +0200 | From | Ingo Molnar <> | Subject | Re: [PATCH] disable softlockup detection at boottime |
| |
* Dimitri Sivanich <sivanich@sgi.com> 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
| |