login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
June
»
27
Re: How can I migrate a currently running task?
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Bart Van Assche <bart.vanassche@...>
To: 夏亮 <xiaiaxaxi@...>
Cc: <linux-kernel@...>
Subject:
Re: How can I migrate a currently running task?
Date: Friday, June 27, 2008 - 9:25 am
On Fri, Jun 27, 2008 at 3:17 PM, 夏亮 <xiaiaxaxi@sjtu.edu.cn> wrote:
quoted text
> 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.
Are you familiar with the glibc pthread_setaffinity_np() function and/or the sched_setaffinity() system call ? Bart. --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
How can I migrate a currently running task?
, 夏亮
, (Fri Jun 27, 9:17 am)
Re: How can I migrate a currently running task?
, Dmitry Adamushko
, (Fri Jun 27, 10:27 am)
Re: How can I migrate a currently running task?
, Bart Van Assche
, (Fri Jun 27, 9:25 am)
Re: How can I migrate a currently running task?
, xialiang
, (Fri Jun 27, 9:38 am)
Re: How can I migrate a currently running task?
, Robin Holt
, (Fri Jun 27, 2:48 pm)
Re: How can I migrate a currently running task?
, xialiang
, (Sat Jun 28, 12:05 am)
Re: How can I migrate a currently running task?
, Peter Zijlstra
, (Sat Jun 28, 3:55 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Benjamin Herrenschmidt
Re: [PATCH] Remove process freezer from suspend to RAM pathway
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Mariusz Kozlowski
[PATCH 03] drivers/sbus/char/bbc_envctrl.c: kmalloc + memset conversion to kzalloc
Yinghai Lu
[PATCH 02/16] x86: introduce nr_irqs for 64bit v3
git
:
linux-netdev
:
Gerrit Renker
[PATCH 13/37] dccp: Deprecate Ack Ratio sysctl
James Morris
Re: [GIT]: Networking
Jeff Garzik
Re: [bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin"
git-commits-head
:
Colocation donated by:
Who's online
There are currently
1 user
and
1164 guests
online.
Online users
strcmp
Syndicate