login
Header Space

 
 

Re: [PATCH 2/2] x86: modify show_shared_cpu_map in intel_cacheinfo

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Bert Wesarg <bert.wesarg@...>
Cc: <travis@...>, <mingo@...>, <linux-kernel@...>
Date: Monday, March 31, 2008 - 2:18 pm

Bert wrote:

"mostly" -- yup.

The masks always take 9 chars per 32 bits of the full mask size
(whether zeros or ones.)

The lists can take up to approx one to three chars per bit, for the
worst case lists of every other bit, depending on the log base 10 of
the highest included bit.

Consider for example:

  97,99,101,103,105,107,109,111,113,115,117,119,121,123,125,127

vs.

  AAAAAAAA,00000000,00000000,00000000

which, if I did my math right, are the same value.

-- 
                  I won't rest till it's the best ...
                  Programmer, Linux Scalability
                  Paul Jackson <pj@sgi.com> 1.940.382.4214
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 2/2] x86: modify show_shared_cpu_map in intel_cac..., Paul Jackson, (Mon Mar 31, 2:18 pm)
speck-geostationary