Re: Got suggestions to reduce the locks in stacker.c?

From: Chris Wright (chrisat_private)
Date: Tue Jul 23 2002 - 23:21:15 PDT

  • Next message: James Morris: "Re: Got suggestions to reduce the locks in stacker.c?"

    * James Morris (jmorrisat_private) wrote:
    > On Tue, 23 Jul 2002, David Wheeler wrote:
    > 
    > > One approach is my previous approach - if I can force
    > > writing of pointers to be atomic (any suggestions on how to do so?),
    > 
    > xchg() may be useful in some situations.
    
    Are we guaranteed xchg() is atomic across all platforms?  It looks like
    the right thing (TM) to do.
    
    thanks,
    -chris
    -- 
    Linux Security Modules     http://lsm.immunix.org     http://lsm.bkbits.net
    _______________________________________________
    linux-security-module mailing list
    linux-security-moduleat_private
    http://mail.wirex.com/mailman/listinfo/linux-security-module
    



    This archive was generated by hypermail 2b30 : Tue Jul 23 2002 - 23:22:44 PDT