[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1372180777.3301.109.camel@edumazet-glaptop>
Date: Tue, 25 Jun 2013 10:19:37 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: Nicolas Schichan <nschichan@...ebox.fr>
Cc: netdev@...r.kernel.org, "David S. Miller" <davem@...emloft.net>,
Cong Wang <amwang@...hat.com>
Subject: Re: freeze with interface rename & SIOCGIFNAME
On Tue, 2013-06-25 at 19:12 +0200, Nicolas Schichan wrote:
> Am I right in thinking that the process spinning on SIOCGIFNAME should be
> naturally be preempted by other tasks by the scheduler once its timeslice has
> expired or am I missing something ?
It depends on CONFIG_PREEMPT settings.
If the kernel is not preemptable, we basically can loop forever, unless
we call cond_resched()
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists