[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120224.041358.1660069480800524360.davem@davemloft.net>
Date: Fri, 24 Feb 2012 04:13:58 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: steffen.klassert@...unet.com
Cc: timo.teras@....fi, netdev@...r.kernel.org
Subject: Re: [PATCH 0/4] Fix routing metrics
From: Steffen Klassert <steffen.klassert@...unet.com>
Date: Fri, 24 Feb 2012 10:08:38 +0100
> Actually the whole tree is invalid in such cases. So instead of
> replacing each single entry of the tree, we could just replace
> the old tree with a fresh initialized inet_peer_base. The old
> tree could be removed later with a delayed work queue.
>
> When rt_cache_invalidate() is invoked, all we have to do is to
> replace the root node with a peer_fake_node and to add the old root
> node to a garbage collecting list. The old tree will be destroyed
> with a work queue later.
>
> We would not even need a genid and we could also get rid of the
> redirect_genid handling.
It sounds like a great idea.
--
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