• Mete Durlu's avatar
    s390/smp: Add cpu capacities · 26ceef52
    Mete Durlu authored
    Linux scheduler allows architectures to assign capacity values to
    individual CPUs. This hints scheduler the performance difference between
    CPUs and allows more efficient task distribution them. Implement
    helper methods to set and get CPU capacities for s390. This is
    particularly helpful in vertical polarization configurations of LPARs.
    On vertical polarization an LPARs CPUs can get different polarization
    values depending on the CEC configuration. CPUs with different
    polarization values can perform different from each other, using CPU
    capacities this can be reflected to linux scheduler.
    Acked-by: default avatarVasily Gorbik <gor@linux.ibm.com>
    Signed-off-by: default avatarMete Durlu <meted@linux.ibm.com>
    Signed-off-by: default avatarVasily Gorbik <gor@linux.ibm.com>
    26ceef52
topology.h 2.91 KB