Files
runc/libcontainer/intelrdt
Kir Kolyshkin 02e961bcf9 libct/intelrdt: wrap Root in sync.Once
In case resctrl filesystem can not be found in /proc/self/mountinfo
(which is pretty common on non-server or non-x86 hardware), subsequent
calls to Root() will result in parsing it again and again.

Use sync.Once to avoid it. Make unit tests call it so that Root() won't
actually parse mountinfo in tests.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2021-12-03 15:58:43 -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