Re: [PATCH 2/2] x86: modify show_shared_cpu_map in intel_cacheinfo
- From: Paul Jackson <pj@xxxxxxx>
- Date: Mon, 31 Mar 2008 13:18:08 -0500
Bert wrote:
Sure your list is mostly shorter than a hex mask
"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@xxxxxxx> 1.940.382.4214
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- References:
- [PATCH 0/2] x86: add functions in preparation of cpumask changes
- From: Mike Travis
- [PATCH 2/2] x86: modify show_shared_cpu_map in intel_cacheinfo
- From: Mike Travis
- Re: [PATCH 2/2] x86: modify show_shared_cpu_map in intel_cacheinfo
- From: Bert Wesarg
- Re: [PATCH 2/2] x86: modify show_shared_cpu_map in intel_cacheinfo
- From: Mike Travis
- Re: [PATCH 2/2] x86: modify show_shared_cpu_map in intel_cacheinfo
- From: Bert Wesarg
- Re: [PATCH 2/2] x86: modify show_shared_cpu_map in intel_cacheinfo
- From: Mike Travis
- Re: [PATCH 2/2] x86: modify show_shared_cpu_map in intel_cacheinfo
- From: Bert Wesarg
- Re: [PATCH 2/2] x86: modify show_shared_cpu_map in intel_cacheinfo
- From: Mike Travis
- Re: [PATCH 2/2] x86: modify show_shared_cpu_map in intel_cacheinfo
- From: Bert Wesarg
- [PATCH 0/2] x86: add functions in preparation of cpumask changes
- Prev by Date: Re: [PATCH RFC] hotplug-memory: refactor online_pages to separate zone growth from page onlining
- Next by Date: Re: 2.6.25-rc6-git6: Reported regressions from 2.6.24
- Previous by thread: Re: [PATCH 2/2] x86: modify show_shared_cpu_map in intel_cacheinfo
- Next by thread: Re: [PATCH 2/2] x86: modify show_shared_cpu_map in intel_cacheinfo
- Index(es):
Relevant Pages
|
|