]> granicus.if.org Git - procps-ng/commit
library: raise amount by which the <stat> buffer grows
authorJim Warner <james.warner@comcast.net>
Fri, 26 Jun 2020 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@dropbear.xyz>
Mon, 29 Jun 2020 11:13:40 +0000 (21:13 +1000)
commit81f4a6acdf204c5c898fa707e285cdbd2389150e
tree88b6bd8c5b151bae7e1fe95d3c1057317b811935
parent3df74e7f3c3ea8d801d78cea04bf9bf4717331b7
library: raise amount by which the <stat> buffer grows

We won't go as far as the merge request shown below in
increasing buffer size, but we will reduce by half the
total iterations while growing it to achieve one read.

[ and this seems in line with what was recently done ]
[ to help top under a massively parallel environment ]
[ thru 2 abreast ('4') and combined cpus ('!') modes ]

Reference(s:
https://gitlab.com/procps-ng/procps/-/merge_requests/105

Signed-off-by: Jim Warner <james.warner@comcast.net>
proc/stat.c