]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lsfd: read /proc/$pid/ns/mnt earlier
authorMasatake YAMATO <yamato@redhat.com>
Wed, 3 Jan 2024 07:33:19 +0000 (16:33 +0900)
committerMasatake YAMATO <yamato@redhat.com>
Sat, 24 Feb 2024 17:02:43 +0000 (02:02 +0900)
commita99427e9c4e4b1ab57df1f94f6addc1769426f5a
treebf84c390af40176f24c75c8fa310f118445a5a6a
parent18a1403401112665f5015770c99f96ced5c6e38e
lsfd: read /proc/$pid/ns/mnt earlier

The change fba9898fd5b1d20a2ed350b7b542d9f8a3597a0c I introduced
unexpectedly canceled the optimization technique introduced in
a7f70ce17a925f1085bfa4b292427f8741d7e2a2 that reduced the number of
times reading /proc/$pid/mountinfo.

This change reenables the technique.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
misc-utils/lsfd.c