Re: Bug in IP accounting explained

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 2 Jun 1997 21:56:00 +0100 (BST)


> How about putting, say, 1024 bytes into foffset for each line, and
> not feel obligated to print that many bytes when lines are shorter.
>
> I seem to recall seeing that technique used in fs/proc/array.c

I use it for the ipv4 routing table for speed, as when you are running
full BGP4 gated can have to read upto about 4Mbytes from /proc/net/ipv4_route