[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20110131.204214.71133534.davem@davemloft.net>
Date: Mon, 31 Jan 2011 20:42:14 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: john.r.fastabend@...el.com
Cc: netdev@...r.kernel.org
Subject: Re: [net-2.6 PATCH 2/3] net: dcb: use _safe() version of list
iterators
From: John Fastabend <john.r.fastabend@...el.com>
Date: Mon, 31 Jan 2011 14:00:54 -0800
> Use _safe() version of list iterator macros in dcb_setapp().
>
> Signed-off-by: John Fastabend <john.r.fastabend@...el.com>
Why? It's unnecessary overhead, since we always branch to "out", and
therefore out of the list traversal loop, any time we list_del()
something on the list.
--
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