Re: [BUG] perf: perf sched warning possibly due to clockgranularity on AMD
From: Peter Zijlstra
Date: Tue Feb 07 2012 - 02:51:39 EST
On Mon, 2012-02-06 at 13:19 -0800, Venki Pallipadi wrote:
> Yes. If these two flags are set, TSC should be consistent and sched_clock_stable
> could be set and it will be reset if there is a call to mark_tsc_unstable().
Only trouble is that sched_clock_cpu() et al. will jump when you flip
sched_clock_stable to 0 after you started using it.. its something we
might want to fix.
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/