login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
June
»
4
Re: [PATCH 2/2] cpusets: update tasks' cpus_allowed and mems_allowed after CPU/NODE offline/online
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
David Rientjes <rientjes@...>
To: Paul Jackson <pj@...>
Cc: <menage@...>, <miaox@...>, <akpm@...>, <linux-kernel@...>
Subject:
Re: [PATCH 2/2] cpusets: update tasks' cpus_allowed and mems_allowed after CPU/NODE offline/online
Date: Wednesday, June 4, 2008 - 3:33 pm
On Wed, 4 Jun 2008, Paul Jackson wrote:
quoted text
> > That would identify both kthreads that have been created with a subsequent > > call to set_cpus_allowed() or kthread_bind(). > > Or do I misunderstand? > > If I am reading you correctly, then would it work to have a check in the > cpuset code (rather than in the lower set_cpus_allowed() routine), > where that check refused to move tasks out of the root cpuset if they > were (1) kernel threads (mm NULL) and (2) had cpus_allowed that were a > strict subset of the root cpusets 'cpus' (the online cpus). >
No, because sched_setaffinity() can still move the threads. --
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:
[PATCH 2/2] cpusets: update tasks' cpus_allowed and mems_all...
, Miao Xie
, (Tue Jun 3, 10:05 pm)
Re: [PATCH 2/2] cpusets: update tasks' cpus_allowed and mems...
, Paul Menage
, (Wed Jun 4, 5:30 am)
Re: [PATCH 2/2] cpusets: update tasks' cpus_allowed and mems...
, Paul Menage
, (Wed Jun 4, 5:58 am)
Re: [PATCH 2/2] cpusets: update tasks' cpus_allowed and mems...
, Paul Jackson
, (Wed Jun 4, 1:22 pm)
Re: [PATCH 2/2] cpusets: update tasks' cpus_allowed and mems...
, David Rientjes
, (Wed Jun 4, 3:01 pm)
Re: [PATCH 2/2] cpusets: update tasks' cpus_allowed and mems...
, Paul Jackson
, (Wed Jun 4, 3:25 pm)
Re: [PATCH 2/2] cpusets: update tasks' cpus_allowed and mems...
, David Rientjes
, (Wed Jun 4, 3:33 pm)
Re: [PATCH 2/2] cpusets: update tasks' cpus_allowed and mems...
, Paul Jackson
, (Wed Jun 4, 3:42 pm)
Re: [PATCH 2/2] cpusets: update tasks' cpus_allowed and mems...
, David Rientjes
, (Wed Jun 4, 4:02 pm)
Re: [PATCH 2/2] cpusets: update tasks' cpus_allowed and mems...
, Paul Jackson
, (Wed Jun 4, 4:21 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 004/196] Chinese: add translation of SubmittingPatches
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Matt Mackall
Re: [PATCH] x86: fix unconditional arch/x86/kernel/pcspeaker.c compiling
James Bottomley
Re: Integration of SCST in the mainstream Linux kernel
openbsd-misc
:
linux-netdev
:
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
David Miller
[GIT]: Networking
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Natalie Protasevich
[BUG] New Kernel Bugs
git
:
Colocation donated by:
Who's online
There are currently
0 users
and
539 guests
online.
Syndicate