Thread (5 messages) 5 messages, 2 authors, 2016-03-03

Re: [PATCH 1/4] mac80211: mesh: move path tables into if_mesh

From: Johannes Berg <johannes@sipsolutions.net>
Date: 2016-03-03 15:18:59

On Sun, 2016-02-28 at 20:03 -0500, Bob Copeland wrote:
The mesh path and mesh gate hashtables are global, containing
all of the mpaths for every mesh interface, but the paths are
all tied logically to a single interface.  The common case is
just a single mesh interface, so optimize for that by moving
the global hashtable into the per-interface struct.

Doing so allows us to drop sdata pointer comparisons inside
the lookups and also saves a few bytes of BSS and data.
All 4 applied.

johannes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help