Re: [patch] fix the softlockup watchdog to actually work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ingo Molnar wrote:
>> How reliable does it need to be?  All we need is to measure "about 10 
>> seconds"; if we can't get that out of it, how can it be good for 
>> anything else?
>>     
>
> sched_clock(), as its name suggests it, is meant for the scheduler's 
> use. The scheduler generally only needs to measure time when the CPU is 
> busy - not across idle periods. So sched_clock() can (and will) break 
> across certain types of ACPI idle methods.
>   

Doesn't that mean it will mis-measure process idle times?  Is that a
problem?

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux