[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <18328.23597.205001.332244@robur.slu.se>
Date: Thu, 24 Jan 2008 10:36:45 +0100
From: Robert Olsson <Robert.Olsson@...a.slu.se>
To: Stephen Hemminger <shemminger@...ux-foundation.org>
Cc: Robert Olsson <Robert.Olsson@...a.slu.se>,
David Miller <davem@...emloft.net>, netdev@...r.kernel.org
Subject: Re: [IPV4 0/9] TRIE performance patches
Stephen Hemminger writes:
> Dumping by prefix is possible, but unless 32x slower. Dumping in
> address order is just as logical. Like I said, I'm investigating what
> quagga handles.
How about taking a snapshot to in address order (as you did) to some
allocated memory, returning from that memory in prefix order? This would
solve the -EBUSY too and give a consistent view of the routing table at
the time for the dump/snapshot.
Cheers
--ro
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists