[PATCH 00/13] VFS: Filesystem information [ver #19]
David Howells
dhowells at redhat.com
Wed Apr 1 08:27:29 UTC 2020
Miklos Szeredi <miklos at szeredi.hu> wrote:
> According to dhowell's measurements processing 100k mounts would take
> about a few seconds of system time (that's the time spent by the
> kernel to retrieve the data,
But the inefficiency of mountfs - at least as currently implemented - scales
up with the number of individual values you want to retrieve, both in terms of
memory usage and time taken.
With fsinfo(), I've tried to batch values together where it makes sense - and
there's no lingering memory overhead - no extra inodes, dentries and files
required.
David
More information about the Linux-security-module-archive
mailing list