diff options
author | attilio <attilio@FreeBSD.org> | 2012-11-03 15:57:37 +0000 |
---|---|---|
committer | attilio <attilio@FreeBSD.org> | 2012-11-03 15:57:37 +0000 |
commit | c754915a07dad30e703ea916dcdd42cbd277ba0d (patch) | |
tree | aecf10ec8867ab9a1e449167fd877415227cd562 /lib/libgssapi/gss_import_sec_context.c | |
parent | 3d05bb3fd002b937ae19b73aa9f6481480ce5ac1 (diff) | |
download | FreeBSD-src-c754915a07dad30e703ea916dcdd42cbd277ba0d.zip FreeBSD-src-c754915a07dad30e703ea916dcdd42cbd277ba0d.tar.gz |
Merge r242395,242483 from mutex implementation:
give rwlock(9) the ability to crunch different type of structures, with
the only constraint that they have a lock cookie named rw_lock.
This name, then, becames reserved from the struct that wants to use
the rwlock(9) KPI and other locking primitives cannot reuse it for
their members.
Namely such structs are the current struct rwlock and the new struct
rwlock_padalign. The new structure will define an object which has the
same layout of a struct rwlock but will be allocated in areas aligned
to the cache line size and will be as big as a cache line.
For further details check comments on above mentioned revisions.
Reviewed by: jimharris, jeff
Diffstat (limited to 'lib/libgssapi/gss_import_sec_context.c')
0 files changed, 0 insertions, 0 deletions