]> granicus.if.org Git - procps-ng/commit
top: avoid %cpu distortions when toggling task/thread modes
authorJim Warner <james.warner@comcast.net>
Mon, 9 Jan 2012 17:26:45 +0000 (11:26 -0600)
committerCraig Small <csmall@enc.com.au>
Fri, 13 Jan 2012 13:04:46 +0000 (00:04 +1100)
commitb73a423cc2d3426f4820d519acb95adaac7d5444
tree2a0344198e983d246a3abbda4da0c57f1ecaab01
parentb246af9cec652c89fe22ba8f1cb0fd5b3c23781d
top: avoid %cpu distortions when toggling task/thread modes

This commit addresses a long standing buglet (debian #441166) which
surfaces when the display mode is switched between task and threads.

An extra procps refresh is now forced upon such a transition which
parallels the approach used at startup for the exact same reason.

Reference: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=441166
top/top.c
top/top.h