]> granicus.if.org Git - procps-ng/commitdiff
library: avoid QUICK_THREADS, swat Redhat bug #1284091
authorJim Warner <james.warner@comcast.net>
Wed, 6 Jul 2016 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@enc.com.au>
Sat, 9 Jul 2016 03:23:27 +0000 (13:23 +1000)
For this release, what's likely to be our last oldlib,
we really no longer care when top or ps threads access
is made a little less efficient. This is especially so
when efficiency was gained at the expense of accuracy.

The newlib branch already has turned off QUICK_THREADS
so this patch just brings the master branch into line.

Reference(s):
https://bugzilla.redhat.com/show_bug.cgi?id=1284091

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

index d03f7c8c7493340968f898debcbfac0f8b60ea69..ba856ca477cf14334b294e9ab20c33c2cc10ee01 100644 (file)
@@ -14,7 +14,7 @@
 #include "pwcache.h"
 
 #define SIGNAL_STRING
-#define QUICK_THREADS        /* copy (vs. read) some thread info from parent proc_t */
+//#define QUICK_THREADS        /* copy (vs. read) some thread info from parent proc_t */
 
 EXTERN_C_BEGIN