[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080627211712.6cto2d1zks848c88@webmail1.sjtu.edu.cn>
Date: Fri, 27 Jun 2008 21:17:12 +0800
From: 夏亮 <xiaiaxaxi@...u.edu.cn>
To: linux-kernel@...r.kernel.org
Subject: How can I migrate a currently running task?
Hi,
I am working on Intel Duo Core with Linux OS 2.6.21, and I'd
like to migrate task from one cpu to another cpu.
In SMP systems, load_balance() function uses move_tasks() to move
processes from source runqueue to local runqueue, but it does not move
a currently running task. If I want to migrate a currently running
task from source runqueue to local runqueue, how can I do? Any
suggestion is preferred. Thanks!
Liang
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists