Speed up list operations by exploiting that the interface list is ordered,
authorAndi Kleen <andi@firstfloor.org>
Mon, 14 Aug 2000 07:57:19 +0000 (07:57 +0000)
committerAndi Kleen <andi@firstfloor.org>
Mon, 14 Aug 2000 07:57:19 +0000 (07:57 +0000)
commitda306a2c93da2687c7c40ca97529927054078d23
tree4765d1a9520434f3a5e357976ed21047069dacbd
parent510362ea645a843641606cfe0b416b53b448b452
Speed up list operations by exploiting that the interface list is ordered,
and the kernel list is normally ordered to.

This allows to list 7000 aliases in a reasonable time.
Also be a bit smarter on when to read SIOCGIFCONF.

The stupid IPv6 /proc parsing on every address still burns a lot of CPU
time.
ifconfig.c
include/interface.h
lib/interface.c