commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

hurd-l4/libhurd-mm storage.c as.h as.c as-looku...


From: Neal H. Walfield
Subject: hurd-l4/libhurd-mm storage.c as.h as.c as-looku...
Date: Fri, 04 Jul 2008 09:01:06 +0000

CVSROOT:        /sources/hurd
Module name:    hurd-l4
Changes by:     Neal H. Walfield <neal> 08/07/04 09:01:06

Modified files:
        libhurd-mm     : storage.c as.h as.c as-lookup.c ChangeLog 

Log message:
        2008-07-04  Neal H. Walfield  <address@hidden>
        
                * as-lookup.c: Don't include <pthread.h>.
                (as_rwlock): Don't define here.
                * as.c: Include <pthread.h>.
                (as_rwlock): Define.
                (as_rwlock_owner): Likewise.
                * as.h: Include <l4/types.h>.
                (as_lock): Check and set as_rwlock_owner appropriately.
                (as_lock_readonly): Likewise.
                (as_unlock): Likewise.
                * storage.c (do_serialize): New local variable.
                (storage_check_reserve_internal): If AS_RWLOCK_OWNER is 
non-zero,
                check if the caller has the AS_RWLOCK.  If so, return.  If
                DO_SERIALIZE is set or FREE_COUNT is less than
                FREE_PAGES_SERIALIZE, take the STORAGE_LOW_MUTEX.  If 
DO_SERIALIZE
                was not set, set it and remember that we set it and clear it 
after
                allocating a folio.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libhurd-mm/storage.c?cvsroot=hurd&r1=1.36&r2=1.37
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libhurd-mm/as.h?cvsroot=hurd&r1=1.13&r2=1.14
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libhurd-mm/as.c?cvsroot=hurd&r1=1.22&r2=1.23
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libhurd-mm/as-lookup.c?cvsroot=hurd&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libhurd-mm/ChangeLog?cvsroot=hurd&r1=1.112&r2=1.113




reply via email to

[Prev in Thread] Current Thread [Next in Thread]