Re: [PATCH RFC 1/2] rhashtable: accept GFP flags in rhashtable_walk_init

From
Bob Copeland <me@bobcopeland.com>
Date
2016-03-01 14:15:24
Also in
linux-wireless
Reply to
Johannes Berg, 2016-03-01
On Tue, Mar 01, 2016 at 02:54:16PM +0100, Johannes Berg wrote:
On Sun, 2016-02-28 at 20:06 -0500, Bob Copeland wrote:
quoted
In certain cases, the 802.11 mesh pathtable code wants to
iterate over all of the entries in the forwarding table from
the receive path, which is inside an RCU read-side critical
section.  Enable walks inside atomic sections by allowing
GFP_ATOMIC allocations for the walker state.

Change all existing callsites to pass in GFP_KERNEL.
Both look fine to me.

I see you have more patches for mesh, so this probably can't go through
net-next tree directly.
Yeah, these two are on top of the other mesh path table changes.

So either both of these could go via mac80211-next or we could do the
1/2 in net-next and wait to apply 2/2 in mac80211-next.  Whatever works
for you guys.

-- 
Bob Copeland %% http://bobcopeland.com/
Thread (3 messages) 3 messages, 3 authors, last reply 2016-03-01
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help