lkml.org 
[lkml]   [2007]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateTue, 27 Mar 2007 09:00:49 +0200
FromEric Dumazet <>
SubjectRe: [patch 1/2] Ignore stolen time in the softlockup watchdog
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 32bit, since this is not anymore atomic.

Maybe a comment would help ?


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

\
 
 \ /
  Last update: 2007-03-27 09:03    [from the cache]
©2003-2010