Re: [PATCH] disable softlockup detection at boottime




* 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/



Relevant Pages

  • Re: [PATCH] disable softlockup detection at boottime
    ... good idea - but why dont you set softlockup_thresh to 0, ... Also, the value '0' is invalid for softlockup_thresh, correct? ... I temporarily got around these issues with the following hack. ... I'm not convinced that changing this to 0 does indeed switch off softlockup detection: ...
    (Linux-Kernel)
  • Re: [PHP] Passing vars w/refresh w/register globals off?
    ... Dont know why you want to, ... This wasy all you need is pass the ID within the browser. ... > switch for routing to desired pages according to form input data. ... I'm thinking the old script would be php3 and the new ...
    (php.general)
  • Re: fliptronics flippers- i prefer non fliptronics!
    ... geez, thats odd i thought they all use optos, so i dont know what you ... the *same* loaded 50V supply therefore the flippers HAVE to be weaker ... switch contact activation. ...
    (rec.games.pinball)
  • Re: Toward a Forth thats easier to learn
    ... They actually think theres a market for an obtused ANS Forth! ... It dont do nothing! ... We all know how to create the best Primatives and META a Forth ... Any app can switch at will, ...
    (comp.lang.forth)
  • Detecting incorrect CD error
    ... I have a lot of games on my machene that I play often and dont like having ... to constantly switch the CD's each time I play them, ...
    (microsoft.public.vb.general.discussion)