[lkml]   [2008]   [Mar]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 2/2] x86: modify show_shared_cpu_map in intel_cacheinfo
    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:




    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 <> 1.940.382.4214

     \ /
      Last update: 2008-03-31 20:21    [W:0.020 / U:45.784 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site