Florian Westphal <fw@xxxxxxxxx> wrote: > 1). Leverage what nft_set_pipapo.c is doing and extend > this for all sets that could use the same solution. > The .walk callback for pipapo doesn't need/use rcu read locks, > and could use sleepable allocations. > all set types except rhashtable could follow this. FWIW I'm exploring a change to nft_set_hash to avoid the rcu read lock when calling ->iter() for rhashtable. If it works, this would allow to just replace the GFP_ATOMIC with GFP_KERNEL.