On Wed, Nov 21, 2001 at 04:03:47PM +0900, Atsushi Nemoto wrote: > Sometimes I want to know what kind of (and how many times) FP > exceptions occurred in run time. Here is a patch to provide us these > informations via /proc/cpuinfo. > > Any comments are welcome. (This patch is not tested on SMP) It get's atomicity wrong. I suggest to make such statistics a per thread thing. That'll not only solve the SMP issues but also make sure processes running in parallel won't influence the result. Ralf