On Mon, Jun 06, 2022 at 02:27:19PM +0100, Tvrtko Ursulin wrote:
From: Tvrtko Ursulin
Opendir(3) and fdopendir(3) are quite expensive system calls when ran in
a loop which iterates all processes in a system times all open files in
each.
Replace some of them (easy ones) with simpler open(2)/read(
+ Umesh
If you have time this is an easy improvement extracted from the "vendor
agnostic gputop" series.
Regards,
Tvrtko
On 06/06/2022 14:27, Tvrtko Ursulin wrote:
From: Tvrtko Ursulin
Opendir(3) and fdopendir(3) are quite expensive system calls when ran in
a loop which iterates all pro