[lkml]   [2006]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] fix workqueue oops during cpu offline
    On Thu, Jan 05, 2006 at 01:45:50PM -0800, Tony Luck wrote:
    > On 1/4/06, Nathan Lynch <> wrote:
    > > This is where things go wrong -- any_online_cpu() now gets 1, not 0.
    > > In queue_work, the cpu_workqueue_struct at per_cpu_ptr(wq->cpu_wq, 1) is
    > > uninitialized.
    > Same issue on ia64 when I tried to add Ashok' s patch to allow
    > removal of cpu0 (BSP in ia64-speak). Ashok told me that this fix
    > solves the problem for us too.

    Is this safe to use in NUMA path as well? Not that memory hot-remove is there
    yet today, but if a NUMA node is being removed, i would assume the memory for
    that node goes with it. i.e assuming alloc_percpu() gets node local memory for
    each cpu.

    So is it safe to continue to reference an area of an offline cpu that may not

    Ashok Raj
    - Open Source Technology Center
    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: 2006-01-05 23:45    [W:0.044 / U:8.160 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site