[PATCH 0/2]: Get perf counters working on D-cache aliasing cpus.

From: David Miller
Date: Tue Sep 08 2009 - 08:10:57 EST



With Jen's Axboe's basic sparc counter patch in my tree I started
playing with it on sparc64. Turns out it won't work on anything
pre-Niagara.

The issue is D-cache aliasing between the kernel side mapping
and the user side mapping of the perf event ring buffer.

The following two patches attempt to address this issue and
are working properly on my test machine.
--
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/