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

Alexander Viro
2001-11-04T23:43:25Z

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.