[Toybox] [PATCH] top: make the task/thread count add up.
enh
enh at google.com
Wed Feb 20 08:08:46 PST 2019
On Wed, Feb 20, 2019 at 6:57 AM Rob Landley <rob at landley.net> wrote:
>
> On 2/17/19 12:54 AM, enh via Toybox wrote:
> > Linux has more states than we were giving it credit for, which led to
> > our numbers not adding up. Since the exact details seem to change
> > between versions, and since having code specific to each kernel version
> > is unattractive, go with the heuristic that there are relatively fewer
> > "stopped" states (and they change less frequently), so all unknowns are
> > "sleeping".
>
> I facepalmed at the help text update, but applied the commit as-is.
at least they haven't (yet) reused the same letter to mean different things :-/
i did consider leaving those states out of the help since they're
unlikely to show up in top, but it seemed plausible that they'd show
up in ps.
sadly 3.13 was released in 2014, so it's another 2 years before we can
pretend this never happened... (while looking up that date on
https://en.wikipedia.org/wiki/Linux_kernel#Timeline i learned that
there was a final 2.16 release in 2016!)
> Rob
More information about the Toybox
mailing list