• B
    powerpc/pseries: Fix partition migration hang under load · f52862f4
    Brian King 提交于
    While testing partition migration with heavy CPU load using
    shared processors, it was observed that sometimes the migration
    would never complete and would appear to hang. Currently, the
    migration code assumes that if H_SUCCESS is returned from the H_JOIN
    then the migration is complete and the processor is waking up on
    the target system. If there was an outstanding PROD to the processor
    when the H_JOIN is called, however, it will return H_SUCCESS on the source
    system, causing the migration to hang, or in some scenarios cause
    the kernel to crash on the complete call waking the caller
    of rtas_percpu_suspend_me. Fix this by calling H_JOIN multiple times
    if necessary during the migration.
    Signed-off-by: NBrian King <brking@linux.vnet.ibm.com>
    Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
    f52862f4
rtas.c 21.8 KB