Re: Locking comment on shrink_caches()

Richard Gooch
2001-09-26T17:43:41Z

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