OpenAFS Master Repository branch, openafs-stable-1_4_x, updated. openafs-stable-1_4_12-77-gf6a272c

Gerrit Code Review gerrit@openafs.org
Tue, 21 Dec 2010 21:06:36 -0800 (PST)


The following commit has been merged in the openafs-stable-1_4_x branch:
commit f6a272c69683cbb9fcd7e23ff693dd6c57c0e1ac
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
    
    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>
    (cherry picked from commit fe3ff8e91237f35fed33d6d417830e0fe44c6479)
    
    Change-Id: I6d63f516a0864c643f5fea2a711a8adea9fdcc6d
    Reviewed-on: http://gerrit.openafs.org/3573
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>
    Tested-by: Derrick Brashear <shadow@dementia.org>

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

-- 
OpenAFS Master Repository