lkml.org 
[lkml]   [2008]   [Apr]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2008-04-29 14:39    [W:0.050 / U:0.448 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site