]> granicus.if.org Git - procps-ng/commitdiff
library: additional comments to the buffer size increase
authorJaromir Capik <jcapik@redhat.com>
Mon, 14 Jul 2014 17:44:14 +0000 (19:44 +0200)
committerJaromir Capik <jcapik@redhat.com>
Mon, 14 Jul 2014 17:44:14 +0000 (19:44 +0200)
proc/sysinfo.c

index 92814df2fcc8c0f2d761b48c9e9199420aee9b50..fbbe0b5cbac0aa39a2284923b122166fa36e43cf 100644 (file)
@@ -57,7 +57,8 @@ static int vminfo_fd = -1;
 
 // As of 2.6.24 /proc/meminfo seems to need 888 on 64-bit,
 // and would need 1258 if the obsolete fields were there.
-// As of 3.13 /proc/vmstat needs 2623 on 64-bit.
+// As of 3.13 /proc/vmstat needs 2623,
+// and /proc/stat needs 3076.
 static char buf[8192];
 
 /* This macro opens filename only if necessary and seeks to 0 so