diff options
author | Brian King <brking@linux.vnet.ibm.com> | 2009-02-17 06:49:50 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-02-23 15:53:04 +1100 |
commit | f52862f4070fb930e407d466aa82d8efcc98c9ed (patch) | |
tree | 750b42530408632015bd77e29879c994fb854429 /drivers/sh | |
parent | 448e2ca0e32a5c437650d634b6032ab732662338 (diff) |
powerpc/pseries: Fix partition migration hang under load
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: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'drivers/sh')
0 files changed, 0 insertions, 0 deletions