aboutsummaryrefslogtreecommitdiff
path: root/ipc/shm.c
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2011-11-07 16:58:18 -0500
committerJ. Bruce Fields <bfields@redhat.com>2011-11-07 21:10:48 -0500
commit06f1f864d4ae5804e83785308d41f14a08e4b980 (patch)
tree44b3f33201d9f7a6b13cc1e3b276ccd9e6743996 /ipc/shm.c
parentc7e8472cf8ae877b232eb506284a5b15cf7efb2c (diff)
nfsd4: hash lockowners to simplify RELEASE_LOCKOWNER
Hash lockowners on just the owner string rather than on (owner, inode). This makes the owner-string lookup needed for RELEASE_LOCKOWNER simpler (currently it's doing at a linear search through the entire hash table!). That may come at the expense of making (owner, inode) lookups more expensive if a client reuses the same lockowner across multiple files. We might add a separate lookup for that. Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'ipc/shm.c')
0 files changed, 0 insertions, 0 deletions