Re: /proc/cpuinfo makes false assumptions of uniformity on IP27

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Oct 06, 2006 at 02:33:43PM +0200, Karl-Johan Karlsson wrote:

> 1. What about the CPU feature test macros in
> include/asm-mips/cpu-features.h? They claim
>   /*
>    * SMP assumption: Options of CPU 0 are a superset of all processors.
>    * This is true for all known MIPS systems.
>    */
> but is that really true, even on a mixed R12k/R10k system?

To the degree that is actually matters, yes.  For cache managment on
Origins the size of the S-cache doesn't matter, that is it is not
relevant if scache_size(cpu 0) > or < scache_size(cpu 1).  It gets a
little hairy for stuff like performance counters where the R10000
supports a different set of events than its successors; that is not
something oprofile can deal with ...

  Ralf


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux