Re: [PATCH] perf_events: fix bogus warn_on(_once) in perf_prepare_sample()

From: Peter Zijlstra
Date: Thu Apr 08 2010 - 17:12:29 EST


On Thu, 2010-04-08 at 23:08 +0200, Stephane Eranian wrote:
>
> > There's various things that do indeed rely on the perf buffer to always
> > be u64 aligned, so this warning isn't bogus at all.
> >
> I assume this has to do with the wrap-around detection.

Nah, mostly dealing with architectures that don't do well with unaligned
accesses.

--
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/