aboutsummaryrefslogtreecommitdiffstats
path: root/fs/file_table.c
diff options
context:
space:
mode:
authorLinus Torvalds <[email protected]>2023-11-26 20:24:38 +0000
committerChristian Brauner <[email protected]>2023-12-12 13:24:13 +0000
commit253ca8678d30bcf94410b54476fc1e0f1627a137 (patch)
tree4727be75e2660bf1a1a54701f16dddb74a35b335 /fs/file_table.c
parentfile: massage cleanup of files that failed to open (diff)
downloadkernel-253ca8678d30bcf94410b54476fc1e0f1627a137.tar.gz
kernel-253ca8678d30bcf94410b54476fc1e0f1627a137.zip
Improve __fget_files_rcu() code generation (and thus __fget_light())
Commit 0ede61d8589c ("file: convert to SLAB_TYPESAFE_BY_RCU") caused a performance regression as reported by the kernel test robot. The __fget_light() function is one of those critical ones for some loads, and the code generation was unnecessarily impacted. Let's just write that function to better. Reported-by: kernel test robot <[email protected]> Cc: Christian Brauner <[email protected]> Cc: Jann Horn <[email protected]> Cc: Mateusz Guzik <[email protected]> Closes: https://lore.kernel.org/oe-lkp/[email protected] Signed-off-by: Linus Torvalds <[email protected]> Link: https://lore.kernel.org/r/CAHk-=wiCJtLbFWNURB34b9a_R_unaH3CiMRXfkR0-iihB_z68A@mail.gmail.com Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'fs/file_table.c')
0 files changed, 0 insertions, 0 deletions