We have reserved five digits for the byte sizes in the print
output. However, if the size of a process happens to be for example
101272kB, the size is still below the 100 * 1024 = 102400 kB
threshold, which has in fact six digits.
Lowering the threshold to 98 will ensure the pretty output is never
more than five digits.
Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
#define SI_M (SI_k * SI_k)
#define SI_G (SI_M * SI_k)
-#define PRETTY_THRESH 100
+#define PRETTY_THRESH 98
#define NICE_DIV(a) \
((a) < SI_k * 4 ? (a) : \
(a < SI_M * PRETTY_THRESH ? ((a) / SI_k) : \