aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorChuck Lever <[email protected]>2023-07-25 14:31:04 -0400
committerChristian Brauner <[email protected]>2023-08-09 09:15:41 +0200
commit2be4f05af71bb2a9958c5680c19e5a489636ff42 (patch)
tree422fc12ee546561b1ccf87b66842201799e43f69 /net/lapb/lapb_timer.c
parentbbaef7973dd017954419718ab2df526ae1f66e93 (diff)
libfs: Remove parent dentry locking in offset_iterate_dir()
Since offset_iterate_dir() does not walk the parent's d_subdir list nor does it manipulate the parent's d_child, there doesn't seem to be a reason to hold the parent's d_lock. The offset_ctx's xarray can be sufficiently protected with just the RCU read lock. Flame graph data captured during the git regression run shows a 20% reduction in CPU cycles consumed in offset_find_next(). Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-lkp/[email protected] Signed-off-by: Chuck Lever <[email protected]> Message-Id: <169030957098.157536.9938425508695693348.stgit@manet.1015granger.net> Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions