[lkml]   [2001]   [Dec]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] New per-cpu patch v2.5.1
    On Thu, 20 Dec 2001 17:43:35 +0530
    Dipankar Sarma <> wrote:

    > Hi Rusty,
    > I appreciate the noble gesture of allowing NUMA people to
    > locate the per-cpu areas in different places in memory ;-)
    > That said, memcpy of static per-cpu areas doesn't seem right.
    > Why copy the same area to all the dynamically allocated per-cpu
    > areas ?

    Initialization. Sure, we can't do it with the current macros...

    > Also, shouldn't the size be &__per_cpu_end - &__per_cpu_start ?

    Oops... Yes. (I wrote this just before my Xmas break, and didn't have time
    to test it).

    > And how do we use this with per-cpu data used right
    > from smp boot, say apic_timer_irqs[] ?

    No. You can't have everthing (without going into the arch-specific code).

    Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:14    [W:0.035 / U:11.120 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site