• Dean Nelson's avatar
    [IA64] fix possible XPC deadlock when disconnecting · a460ef8d
    Dean Nelson authored
    This patch eliminates a potential deadlock that is possible when XPC
    disconnects a channel to a partition that has gone down. This deadlock will
    occur if at least one of the kthreads created by XPC for the purpose of making
    callouts to the channel's registerer is detained in the registerer and will
    not be returning back to XPC until some registerer request occurs on the now
    downed partition. The potential for a deadlock is removed by ensuring that
    there always is a kthread available to make the channel disconnecting callout
    to the registerer.
    Signed-off-by: default avatarDean Nelson <dcn@sgi.com>
    Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
    a460ef8d
xpc_main.c 37 KB