Re: PROPOSAL: dot-proc interface [was: /proc stuff]

Alexander Viro (viro@math.psu.edu)
Sun, 4 Nov 2001 18:42:57 -0500 (EST)


On Sun, 4 Nov 2001, Daniel Phillips wrote:

> Doing 'top -d .1' eats 18% of a 1GHz cpu, which is abominable. A kernel
> profile courtesy of sgi's kernprof shows that scanning pages does not move
> the needle, whereas sprintf does. Notice that the biggest chunk of time

Huh? Scanning pages is statm_pgd_range(). I'd say that it takes
seriously more than vsnprintf() - look at your own results.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/