• Paul Jackson's avatar
    [PATCH] cpusets: remove depth counted locking hack · 5aa15b5f
    Paul Jackson authored
    Remove a rather hackish depth counter on cpuset locking.  The depth counter
    was avoiding a possible double trip on the global cpuset_sem semaphore.  It
    worked, but now an improved version of cpuset locking is available, to come
    in the next patch, using two global semaphores.
    
    This patch reverses "cpuset semaphore depth check deadlock fix"
    
    The kernel still works, even after this patch, except for some rare and
    difficult to reproduce race conditions when agressively creating and
    destroying cpusets marked with the notify_on_release option, on very large
    systems.
    Signed-off-by: default avatarPaul Jackson <pj@sgi.com>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    5aa15b5f
cpuset.c 47 KB