[Toybox] [PATCH] top: make the task/thread count add up.

Rob Landley rob at landley.net
Wed Feb 20 06:57:35 PST 2019


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.

Rob



More information about the Toybox mailing list