lkml.org 
[lkml]   [2016]   [Sep]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 0/2 v3] cpu hotplug: Preserve topology directory after soft remove event
    On Wed, Sep 21, 2016 at 07:39:31AM -0400, Prarit Bhargava wrote:
    > The information in /sys/devices/system/cpu/cpuX/topology
    > directory is useful for userspace monitoring applications and in-tree
    > utilities like cpupower & turbostat.
    >
    > When down'ing a CPU the /sys/devices/system/cpu/cpuX/topology directory is
    > removed during the CPU_DEAD hotplug callback in the kernel. The problem
    > with this model is that the CPU has not been physically removed and the
    > data in the topology directory is still valid. IOW, the cpu is still
    > present but the kernel has removed the topology directory making it
    > very difficult to determine exactly where the cpu is located.

    So I'm afraid I still don't understand what the problem here is.

    And the commit message of 2/2 doesn't make it any clearer. Can you
    please give a concrete example what the problem is and what you're
    trying to achieve.

    Thanks.

    --
    Regards/Gruss,
    Boris.

    SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
    --

    \
     
     \ /
      Last update: 2016-09-22 23:59    [W:3.151 / U:0.320 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site