[$] Improving fget() performance
Monday May 6, 2019. 10:24 PM , from LWN.net
The performance of the fget() function in the kernel was the topic
of a discussion led by Dave Watson at the 2019 Linux Storage, Filesystem,
and Memory-Management Summit (LSFMM).
is used to take a reference to a
file (i.e. bump a reference count), based on its file descriptor, and to
return the struct file pointer for it; references are dropped with
Some recent profiling at Watson's
employer, Facebook, found the function to be taking a sizable portion of
the CPU time for some applications, so he wanted to talk about some of the
things he has tried to make that situation better.
Jan, Sun 17 - 10:51 CET