• Dean Nelson's avatar
    sgi-xp: eliminate false detection of no heartbeat · 158bc69e
    Dean Nelson authored
    After XPC has been up and running on multiple partitions for any length of
    time, if XPC on one of the partitions is stopped and restarted (either by
    a rmmod/insmod or a system restart), it is possible for the XPCs running
    on the other partitions to falsely detect a lack of heartbeat from the XPC
    that was just restarted.  This false detection will occur if the restarted
    XPC comes up within the five-seconds preceding one of the other XPC's
    heartbeat check (which occurs once every twenty seconds).
    
    The detection of no heartbeat results in the detecting XPC deactivating
    from the just restarted XPC.  The only remedy is to restart one of the
    XPCs and hope that one doesn't hit this five-second window on any of the
    other partitions.
    Signed-off-by: default avatarDean Nelson <dcn@sgi.com>
    Signed-off-by: default avatarRobin Holt <holt@sgi.com>
    Cc: <stable@kernel.org>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    158bc69e
xpc_sn2.c 67 KB