Re: Locking comment on shrink_caches()

From: Richard Gooch (rgooch@ras.ucalgary.ca)
Date: Wed Sep 26 2001 - 12:43:25 EST


Linus Torvalds writes:
> This message is in MIME format. The first part should be readable text,
> while the remaining parts are likely unreadable without MIME-aware tools.
> Send mail to mime@docserver.cac.washington.edu for more info.

Yuk! MIME! I thought you hated it too?

> PIII:
> nothing: 32 cycles
> locked add: 50 cycles
> cpuid: 170 cycles
>
> P4:
> nothing: 80 cycles
> locked add: 184 cycles
> cpuid: 652 cycles
>
> Remember: these are for the already-exclusive-cache cases. ]
>
> What are the athlon numbers?

Athalon 850 MHz:
nothing: 11 cycles
locked add: 12 cycles
cpuid: 64 cycles

BTW: your code had horrible control-M's on each line. So the compiler
choked (with a less-than-helpful error message). Of course, cat t.c
showed nothing amiss. Fortunately emacs doesn't hide information.

                                Regards,

                                        Richard....
Permanent: rgooch@atnf.csiro.au
Current: rgooch@ras.ucalgary.ca
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Sep 30 2001 - 21:00:47 EST