[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1360944010-15336-2-git-send-email-wei.liu2@citrix.com>
Date: Fri, 15 Feb 2013 16:00:02 +0000
From: Wei Liu <wei.liu2@...rix.com>
To: <xen-devel@...ts.xen.org>, <netdev@...r.kernel.org>,
<ian.campbell@...rix.com>, <konrad.wilk@...cle.com>,
<annie.li@...cle.com>
CC: Wei Liu <wei.liu2@...rix.com>
Subject: [PATCH 1/8] netback: don't bind kthread to cpu
The initialization process makes an assumption that the online cpus are
numbered from 0 to xen_netbk_group_nr-1, which is not always true.
As we only need a pool of worker threads, simply don't bind them to specific
cpus.
Signed-off-by: Wei Liu <wei.liu2@...rix.com>
---
drivers/net/xen-netback/netback.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/net/xen-netback/netback.c b/drivers/net/xen-netback/netback.c
index 3ae49b1..db8d45a 100644
--- a/drivers/net/xen-netback/netback.c
+++ b/drivers/net/xen-netback/netback.c
@@ -1729,8 +1729,6 @@ static int __init netback_init(void)
goto failed_init;
}
- kthread_bind(netbk->task, group);
-
INIT_LIST_HEAD(&netbk->net_schedule_list);
spin_lock_init(&netbk->net_schedule_list_lock);
--
1.7.10.4
--
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