diff options
author | NeilBrown <neilb@suse.de> | 2006-03-27 01:15:00 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-27 08:44:41 -0800 |
commit | eab7e2e647c348b418e8715ecaca0177e1b473c7 (patch) | |
tree | 91aa453d6313eee89c8b19eea48699b1143264aa /drivers/acpi/utilities | |
parent | efc36aa5608f5717338747e152c23f2cfdb14697 (diff) | |
download | linux-3.10-eab7e2e647c348b418e8715ecaca0177e1b473c7.tar.gz linux-3.10-eab7e2e647c348b418e8715ecaca0177e1b473c7.tar.bz2 linux-3.10-eab7e2e647c348b418e8715ecaca0177e1b473c7.zip |
[PATCH] knfsd: Break the hard linkage from svc_expkey to svc_export
Current svc_expkey holds a pointer to the svc_export structure, so updates to
that structure have to be in-place, which is a wart on the whole cache
infrastruct. So we break that linkage and just do a second lookup.
If this became a performance issue, it would be possible to put a direct link
back in which was only used conditionally. i.e. when an object is replaced
in the cache, we set a flag in the old object. When dereferencing the link
from svc_expkey, if the flag is set, we drop the reference and do a fresh
lookup.
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/acpi/utilities')
0 files changed, 0 insertions, 0 deletions