Jeremy Fitzhardinge wrote:
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.
Wh
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?
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
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
Jeremy Fitzhardinge wrote:
---
kernel/softlockup.c | 28 +++-
1 file changed, 19 insertions(+), 9 deletions(-)
===
--- a/kernel/softlockup.c
+++ b/kernel/softlockup.c
@@ -17,8 +17,8 @@
static DEFINE_
On Tue, 27 Mar 2007 00:12:53 -0700
Jeremy Fitzhardinge <[EMAIL PROTECTED]> wrote:
> Eric Dumazet wrote:
> > Jeremy Fitzhardinge a écrit :
> >
> >> +static DEFINE_PER_CPU(unsigned long long, touch_timestamp);
> >
> > ...
> >
> >> void touch_softlockup_watchdog(void)
> >> {
> >> -__raw_get_cpu
Eric Dumazet wrote:
> Jeremy Fitzhardinge a écrit :
>
>> +static DEFINE_PER_CPU(unsigned long long, touch_timestamp);
>
> ...
>
>> void touch_softlockup_watchdog(void)
>> {
>> -__raw_get_cpu_var(touch_timestamp) = jiffies;
>> +__raw_get_cpu_var(touch_timestamp) = sched_clock();
>> }
>
>
Jeremy Fitzhardinge a écrit :
+static DEFINE_PER_CPU(unsigned long long, touch_timestamp);
...
void touch_softlockup_watchdog(void)
{
- __raw_get_cpu_var(touch_timestamp) = jiffies;
+ __raw_get_cpu_var(touch_timestamp) = sched_clock();
}
Not very clear if this is safe on 32b
The softlockup watchdog is currently a nuisance in a virtual machine,
since the whole system could have the CPU stolen from it for a long
period of time. While it would be unlikely for a guest domain to be
denied timer interrupts for over 10s, it could happen and any softlockup
message would be co
9 matches
Mail list logo