[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100208223540.3cdabe44.akpm@linux-foundation.org>
Date: Mon, 8 Feb 2010 22:35:40 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Eric Dumazet <eric.dumazet@...il.com>
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()
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.
--
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