lkml.org 
[lkml]   [2011]   [Jul]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH] sched: reorder root_domain to remove 64 bit alignment padding
    From
    Date
    On Fri, 2011-07-15 at 12:44 +0200, Peter Zijlstra wrote:
    > On Fri, 2011-07-15 at 11:41 +0100, Richard Kennedy wrote:
    > > Reorder root_domain to remove 8 bytes of alignment padding on 64 bit
    > > builds, this shrinks the size from 1736 to 1728 bytes, therefore using
    > > one fewer cachelines.
    >
    > depends a bit on how insane struct cpupri is, but yeah, good compaction.
    > Thanks!

    Thanks Peter,

    argh -- I hadn't spotted that cpupri used NR_CPUS and was so variable in
    size. I guess there won't be much benefit then, as the distros seem to
    always set NR_CPUS to some insanely huge value ;)

    regards
    Richard




    \
     
     \ /
      Last update: 2011-07-15 13:25    [W:0.038 / U:88.636 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site