Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1716565

Re: [PATCH 1/2] powerpc/workqueue: update list of possible CPUs

From Tejun Heo <tj@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH 1/2] powerpc/workqueue: update list of possible CPUs
Date 2017-08-21 16:50 +0200
Message-ID <ugWbE-5BL-15@gated-at.bofh.it> (permalink)
References <ugVpg-54m-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Aug 21, 2017 at 03:49:50PM +0200, Laurent Vivier wrote:
> In wq_numa_init() a list of NUMA nodes with their list of possible CPUs
> is built.
> 
> Unfortunately, on powerpc, the Firmware is only able to provide the
> node of a CPU if the CPU is present. So, in our case (possible CPU)
> CPU ids are known, but as the CPU is not present, the node id is
> unknown and all the unplugged CPUs are attached to node 0.

This is something powerpc needs to fix.  Workqueue isn't the only one
making this assumption.  mm as a whole assumes that CPU <-> node
mapping is stable regardless of hotplug events.  Powerpc people know
about the issue and AFAIK are working on it.

Thanks.

-- 
tejun

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] powerpc/workqueue: update list of possible CPUs Laurent Vivier <lvivier@redhat.com> - 2017-08-21 16:00 +0200
  Re: [PATCH 1/2] powerpc/workqueue: update list of possible CPUs Tejun Heo <tj@kernel.org> - 2017-08-21 16:50 +0200
    Re: [PATCH 1/2] powerpc/workqueue: update list of possible CPUs Michael Ellerman <mpe@ellerman.id.au> - 2017-08-22 03:50 +0200
      Re: [PATCH 1/2] powerpc/workqueue: update list of possible CPUs Tejun Heo <tj@kernel.org> - 2017-08-22 19:00 +0200
        Re: [PATCH 1/2] powerpc/workqueue: update list of possible CPUs Michael Ellerman <mpe@ellerman.id.au> - 2017-08-23 13:10 +0200
          Re: [PATCH 1/2] powerpc/workqueue: update list of possible CPUs Laurent Vivier <lvivier@redhat.com> - 2017-08-23 13:20 +0200
          Re: [PATCH 1/2] powerpc/workqueue: update list of possible CPUs Tejun Heo <tj@kernel.org> - 2017-08-23 15:30 +0200
            Re: [PATCH 1/2] powerpc/workqueue: update list of possible CPUs Laurent Vivier <lvivier@redhat.com> - 2017-08-24 14:20 +0200
              Re: [PATCH 1/2] powerpc/workqueue: update list of possible CPUs Tejun Heo <tj@kernel.org> - 2017-08-24 16:00 +0200

csiph-web