aff1f77 sanlock: configurable mlockall level

Authored and Committed by teigland 12 years ago
    sanlock: configurable mlockall level
    
    -l 0 -> no mlockall
    -l 1 -> mlockall(CURRENT)
    -l 2 -> mlockall(CURRENT|FUTURE)
    
    The default is now set to 1 (was 2).
    
    CURRENT|FUTURE results in each pthread_create using
    8MB of RSS for the thread stack.  CURRENT alone does
    not.
    
    Signed-off-by: David Teigland <teigland@redhat.com>
    
        
file modified
+14 -5
file modified
+2 -0