lkml.org 
[lkml]   [2015]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH -rt] Revert "net: use synchronize_rcu_expedited()"
From
Date
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>




\
 
 \ /
  Last update: 2015-10-27 15:41    [W:0.076 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site