Re: [PATCH nf-next v4 01/13] rhashtable: add rhashtable_flush_and_free helper
Florian Westphal <[email protected]>
| Newsgroups | gmane.linux.kernel.cryptoapi,gmane.comp.security.firewalls.netfilter.devel |
|---|---|
| Message-ID | <[email protected]> |
Florian Westphal <[email protected]> wrote: > Will be used by upcoming ipset rhashtable conversion. > > "walk rht with unlink+free" triggers LLM reject pattern: > "possible softirq CPU stall". > > "walk rht with unlink+free + cond_resched" triggers > "possibly skipped elements". > > Add a helper to detach current hash backend storage from the > rhashtable, then iterate and flush all contained elements. As usual, I'm very incompetent and the patch sucks. So question is merely if this function/idea is desirable/wanted in the first place.