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 ?
_______________________________________________
Virtualization mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/virtualization