lkml.org 
[lkml]   [2009]   [Jun]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCHSET] percpu: generalize first chunk allocators and improve lpage NUMA support
    > I assume from the tremendous number of for_each_possible_cpu()s that
    > CPU hotplug awareness won't be happening.
    >
    > Do we have a feeling for the amount of wastage here? If
    >
    > num_possible_cpus() - num_online_cpus() == N

    Haven't read the new patches, but per cpu data always was sized
    for all possible CPUs.

    > and N is large, what did it cost?

    > And what are reasonable values of N?

    N should normally not be large anymore, since num_possible_cpus()
    is sized based on firmware information now.

    -Andi

    --
    ak@linux.intel.com -- Speaking for myself only.


    \
     
     \ /
      Last update: 2009-06-25 02:05    [W:0.023 / U:0.740 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site