mirror of https://gitee.com/openkylin/linux.git
046d6c563b
This was a difficult bug to trip. XPC was in the middle of sending an acknowledgement for a received message. In xpc_received_payload_uv(): . ret = xpc_send_gru_msg(ch->sn.uv.cached_notify_gru_mq_desc, msg, sizeof(struct xpc_notify_mq_msghdr_uv)); if (ret != xpSuccess) XPC_DEACTIVATE_PARTITION(&xpc_partitions[ch->partid], ret); msg->hdr.msg_slot_number += ch->remote_nentries; at the point in xpc_send_gru_msg() where the hardware has dispatched the acknowledgement, the remote side is able to reuse the message structure and send a message with a different slot number. This problem is made worse by interrupts. The adjustment of msg_slot_number and the BUG_ON in xpc_handle_notify_mq_msg_uv() which verifies the msg_slot_number is consistent are only used for debug purposes. Since a fix for this that preserves the debug functionality would either have to infringe upon the payload or allocate another structure just for debug, I decided to remove it entirely. Signed-off-by: Robin Holt <holt@sgi.com> Cc: Jack Steiner <steiner@sgi.com> Cc: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
---|---|---|
.. | ||
c2port | ||
cb710 | ||
eeprom | ||
hdpuftrs | ||
ibmasm | ||
iwmc3200top | ||
sgi-gru | ||
sgi-xp | ||
Kconfig | ||
Makefile | ||
ad525x_dpot.c | ||
atmel-ssc.c | ||
atmel_pwm.c | ||
atmel_tclib.c | ||
cs5535-mfgpt.c | ||
ds1682.c | ||
enclosure.c | ||
ep93xx_pwm.c | ||
hpilo.c | ||
hpilo.h | ||
ics932s401.c | ||
ioc4.c | ||
isl29003.c | ||
kgdbts.c | ||
lkdtm.c | ||
phantom.c | ||
ti_dac7512.c | ||
tifm_7xx1.c | ||
tifm_core.c |