OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_72-168-gfe3ff8e

Gerrit Code Review gerrit@openafs.org
Tue, 23 Mar 2010 12:14:09 -0700 (PDT)


The following commit has been merged in the master branch:
commit fe3ff8e91237f35fed33d6d417830e0fe44c6479
Author: Andrew Deason <adeason@sinenomine.net>
Date:   Tue Mar 9 18:07:18 2010 -0600

    vos: Mark longjmp-used variables as 'volatile'
    
    vsprocs tries to do error recovery by calling longjmp from a signal
    handler. Although this is quite error-prone since we call a ton of
    non-async-signal-safe functions, make it a bit more likely to work by
    marking variables that are used after the longjmp as volatile. This
    reduces how often (depending on the platform) these values will be
    completely worthless after a longjmp since they were cached in a
    register or similar.
    
    FIXES 125535
    
    Change-Id: I8566f8cffde6cfdffd99a11d637645494e0a0514
    Reviewed-on: http://gerrit.openafs.org/1557
    Tested-by: Andrew Deason <adeason@sinenomine.net>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>
    Tested-by: Derrick Brashear <shadow@dementia.org>

 src/volser/vsprocs.c |  186 ++++++++++++++++++++++++++++++++++++--------------
 1 files changed, 135 insertions(+), 51 deletions(-)

-- 
OpenAFS Master Repository