Thread (25 messages) 25 messages, 8 authors, 2020-06-04

Re: [PATCH v3 0/7] Statsfs: a new ram-based file system for Linux kernel statistics

From: Jakub Kicinski <kuba@kernel.org>
Date: 2020-05-27 20:23:31
Also in: kvm, linux-doc, linux-fsdevel, linux-mips, linux-s390, linuxppc-dev, lkml, netdev

On Wed, 27 May 2020 15:14:41 +0200 Emanuele Giuseppe Esposito wrote:
Regarding the config, as I said the idea is to gather multiple 
subsystems' statistics, therefore there wouldn't be a single 
configuration method like in netlink.
For example in kvm there are file descriptors for configuration, and 
creating them requires no privilege, contrary to the network interfaces.
Enumerating networking interfaces, addresses, and almost all of the
configuration requires no extra privilege. In fact I'd hope that
whatever daemon collects network stats doesn't run as root :)

I think enumerating objects is of primary importance, and statistics 
of those objects are subordinate.

Again, I have little KVM knowledge, but BPF also uses a fd-based API,
and carries stats over the same syscall interface.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help