Messages in this thread | | | Subject | Re: [PATCH -rt] Revert "net: use synchronize_rcu_expedited()" | From | Eric Dumazet <> | Date | Tue, 27 Oct 2015 07:18:01 -0700 |
| |
On Tue, 2015-10-27 at 07:31 -0500, Josh Cartwright wrote:
> Okay, yes, I like the first suggestion better as well, I've included a > patch below that does just that. I hope you don't mind me turning it > into a Suggested-by :). > > Thanks for taking a look! > Josh
> @@ -6969,7 +6969,7 @@ EXPORT_SYMBOL(free_netdev); > void synchronize_net(void) > { > might_sleep(); > - if (rtnl_is_locked()) > + if (rtnl_is_locked() && !IS_ENABLED(CONFIG_PREEMPT_RT_FULL)) > synchronize_rcu_expedited(); > else > synchronize_rcu();
No objection from me. Thanks.
Acked-by: Eric Dumazet <edumazet@google.com>
| |