The following commit has been merged in the master branch:
commit 4f0244e2950d93101368bc78367b67b1ec2ef264
Author: Andrew Deason <[email protected]>
Date:   Mon Nov 6 13:32:48 2023 -0600

    LINUX: Refactor afs_osi_Sleep
    
    Instead of having afs_osi_Sleep() call afs_osi_SleepSig() directly,
    have both afs_osi_Sleep() and afs_osi_SleepSig() call a common helper
    function, afs_linux_sleep(). This makes it easier for future commits
    to alter the behavior for the _Sleep and _SleepSig variants.
    
    This commit should incur no noticeable change in behavior. We now
    manipulate the signal mask outside of AFS_GLOCK, but this doesn't matter
    because 'current' and the signal mask are unrelated to any of our locks.
    The signal mask is protected by SIG_LOCK (a wrapper from osi_machdep.h
    for various different locks for different kernel versions), and is
    handled in this commit the same as it was before.
    
    Change-Id: Id14c44b22cf2a1883deaf6ceec66f71f3f4778a6
    Reviewed-on: https://gerrit.openafs.org/15636
    Tested-by: BuildBot <[email protected]>
    Reviewed-by: Cheyenne Wills <[email protected]>
    Reviewed-by: Mark Vitale <[email protected]>
    Reviewed-by: Benjamin Kaduk <[email protected]>

 src/afs/LINUX/osi_sleep.c | 55 +++++++++++++++++++++++++++++------------------
 1 file changed, 34 insertions(+), 21 deletions(-)

-- 
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs

Reply via email to