Re: [PATCH v2] perf test x86: address multiplexing in rdpmc test

From: Peter Zijlstra
Date: Mon Mar 23 2020 - 08:29:34 EST


On Sun, Mar 22, 2020 at 04:18:20PM -0700, Andi Kleen wrote:
> > Here's something a little better. Much of it copied from linux/math64.h
> > and asm/div64.h.
>
> Not sure what the point is of micro optimizing a unit test?
>
> This is never run in production.

People might use it as an example of how to use the stuff.. and then
copy horrendous crap code.