lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 27 Mar 2007 10:10:30 -0700
From:	Jeremy Fitzhardinge <jeremy@...source.com>
To:	Prarit Bhargava <prarit@...hat.com>
CC:	Jeremy Fitzhardinge <jeremy@...p.org>,
	Rick Lindsley <ricklind@...ibm.com>,
	john stultz <johnstul@...ibm.com>, Ingo Molnar <mingo@...e.hu>,
	Linux Kernel <linux-kernel@...r.kernel.org>,
	virtualization@...ts.osdl.org, Paul Mackerras <paulus@...ba.org>,
	Martin Schwidefsky <schwidefsky@...ibm.com>,
	Thomas Gleixner <tglx@...utronix.de>,
	Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [patch 1/2] Ignore stolen time in the softlockup watchdog

Prarit Bhargava wrote:
> Jeremy Fitzhardinge wrote:
>   
>> Prarit Bhargava wrote:
>>   
>>     
>>> I'd like to see this patch implement/fix touch_cpu_softlockup_watchdog
>>> and touch_softlockup_watchdog to mimic touch_nmi_watchdog's behaviour.
>>>     
>>>       
>> Why?  Is that more correct?  It seems to me that you're interested in
>> whether a specific CPU has gone and locked up.  If touching the watchdog
>>   
>> makes it update all CPU timestamps, then you'll hide the fact that other
>> CPUs have locked up, won't it?
>>
>>   
>>     
> In case of misuse, yes.  But there are cases where we know that all CPUs 
> will have softlockup issues, such as when doing a "big" sysrq-t dump.  
> When doing the sysrq-t we take the tasklist_lock which prevents all 
> other CPUs from scheduling -- this leads to bogus softlockup messages, 
> so we need to reset everyone's watchdog just before releasing the 
> tasklist_lock.
>
> Another question -- are you going to expose disable/enable_watchdog to 
> other subsystems?  Or are you going to expose touch_softlockup_watchdog?

Well, it depends on who turns up. 

My first thought is to export both the global enable/disable interfaces
and touch_softlockup_watchdog.  But on second thoughts maybe
touch_softlockup_watchdog is completely redundant, since you'd only do
it if you're holding off timer interrupts, but the lockup only gets
reported if timer interrupts are enabled (in other words, the best it
can tell you is "you locked up for a while there", which isn't terribly
useful).  So perhaps this can just be dropped.  I haven't looked at the
users to see what they're really trying to achieve.

The enable/disable interfaces are more generally useful in that you can
say "I *know* I'm going to go away for a while, so don't bother
reporting it".

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ