[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1265700036.4236.120.camel@edumazet-laptop>
Date: Tue, 09 Feb 2010 08:20:36 +0100
From: Eric Dumazet <eric.dumazet@...il.com>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Stephen Hemminger <shemminger@...tta.com>,
David Miller <davem@...emloft.net>, pstaszewski@...are.pl,
netdev@...r.kernel.org
Subject: Re: [PATCH] dst: call cond_resched() in dst_gc_task()
Le lundi 08 février 2010 à 22:35 -0800, Andrew Morton a écrit :
> On Tue, 09 Feb 2010 07:06:38 +0100 Eric Dumazet <eric.dumazet@...il.com> wrote:
>
> > After this patch, I believe that scheduler is allowed to migrate
> > dst_gc_task() to an idle cpu.
>
> No, keventd threads are each pinned to a single CPU (kthread_bind() in
> start_workqueue_thread()), so dst_gc_task() gets run on the CPU which
> ran schedule_delayed_work() and no other.
>
Ah OK, thanks Andrew for this clarification.
I suppose offlining a cpu migrates its works to another (online) cpu ?
--
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