diff options
author | Paul Moore <paul.moore@hp.com> | 2008-01-29 08:37:57 -0500 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2008-01-30 08:17:18 +1100 |
commit | 1c3fad936acaf87b75055b95be781437e97d787f (patch) | |
tree | 43fe24b08a605db020c0a93fb5ceec1e7744822d /include/net/netlabel.h | |
parent | b64397e0b40e75b619aeef9a1fa21f79f801a3e8 (diff) | |
download | linux-1c3fad936acaf87b75055b95be781437e97d787f.tar.gz linux-1c3fad936acaf87b75055b95be781437e97d787f.tar.bz2 linux-1c3fad936acaf87b75055b95be781437e97d787f.zip |
NetLabel: Consolidate the LSM domain mapping/hashing locks
Currently we use two separate spinlocks to protect both the hash/mapping table
and the default entry. This could be considered a bit foolish because it adds
complexity without offering any real performance advantage. This patch
removes the dedicated default spinlock and protects the default entry with the
hash/mapping table spinlock.
Signed-off-by: Paul Moore <paul.moore@hp.com>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'include/net/netlabel.h')
0 files changed, 0 insertions, 0 deletions