diff options
author | NeilBrown <neilb@suse.de> | 2014-08-08 14:19:54 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-08 15:57:19 -0700 |
commit | 668128e90b9596668141539326178dacc42af188 (patch) | |
tree | d68268b71a156f2ed76999384e46d3dc36236975 /samples | |
parent | autofs4: remove a redundant assignment (diff) | |
download | linux-dev-668128e90b9596668141539326178dacc42af188.tar.xz linux-dev-668128e90b9596668141539326178dacc42af188.zip |
autofs4: don't take spinlock when not needed in autofs4_lookup_expiring
If the expiring_list is empty, we can avoid a costly spinlock in the
rcu-walk path through autofs4_d_manage (once the rest of the path
becomes rcu-walk friendly).
Signed-off-by: NeilBrown <neilb@suse.de>
Reviewed-by: Ian Kent <raven@themaw.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions