Re: [PATCH] simplify update_times (avoid jiffies/jiffies_64 aliasing problem)

From: Paul Mackerras
Date: Sat Mar 04 2006 - 06:40:02 EST


Andi Kleen writes:

> Also I assume Atsushi-san did the patch because he saw a real problem?

Yes, one which I also saw on PPC. The compiler (gcc-4) emits loads
for jiffies, jiffies64 and wall_jiffies before storing the incremented
jiffies64 value back.

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