Files
runc/libcontainer/intelrdt
Cory Snider 4796f49ca3 libct/intelrdt: elide parsing mountinfo
The intelrdt package only needs to parse mountinfo to find the mount
point of the resctrl filesystem. Users are generally going to mount the
resctrl filesystem to the pre-created /sys/fs/resctrl directory, so
there is a common case where mountinfo parsing is not required. Optimize
for the common case with a fast path which checks both for the existence
of the /sys/fs/resctrl directory and whether the resctrl filesystem was
mounted to that path using a single statfs syscall.

Signed-off-by: Cory Snider <csnider@mirantis.com>
(cherry picked from commit c156bde7cc)
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2023-08-10 17:09:53 +08:00
..
2021-07-27 01:41:47 -07:00
2021-06-01 12:17:27 -07:00
2021-10-14 13:46:02 -07:00
2021-10-14 13:46:02 -07:00