diff options
author | Dean Nelson <dcn@sgi.com> | 2006-11-22 15:25:00 +0100 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2006-12-12 20:48:53 +0100 |
commit | a460ef8d0a98ac9ef6b829ae292c9b6c13bc0120 (patch) | |
tree | da52a77a9fee80f98a8a82567814f33d2341234b /include/asm-ia64 | |
parent | [IA64] - Reduce overhead of FP exception logging messages (diff) | |
download | linux-a460ef8d0a98ac9ef6b829ae292c9b6c13bc0120.tar.xz linux-a460ef8d0a98ac9ef6b829ae292c9b6c13bc0120.zip |
[IA64] fix possible XPC deadlock when disconnecting
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: Dean Nelson <dcn@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'include/asm-ia64')
-rw-r--r-- | include/asm-ia64/sn/xpc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-ia64/sn/xpc.h b/include/asm-ia64/sn/xpc.h index 1d45e1518fb3..e52b8508083b 100644 --- a/include/asm-ia64/sn/xpc.h +++ b/include/asm-ia64/sn/xpc.h @@ -673,7 +673,7 @@ extern irqreturn_t xpc_notify_IRQ_handler(int, void *); extern void xpc_dropped_IPI_check(struct xpc_partition *); extern void xpc_activate_partition(struct xpc_partition *); extern void xpc_activate_kthreads(struct xpc_channel *, int); -extern void xpc_create_kthreads(struct xpc_channel *, int); +extern void xpc_create_kthreads(struct xpc_channel *, int, int); extern void xpc_disconnect_wait(int); |