login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
24
Re: [RFC PATCH 4/5] Remove CPU_DEAD/CPU_UP_CANCELLED handling from workqueue.c
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Rusty Russell <rusty@...>
To: <ego@...>
Cc: Linus Torvalds <torvalds@...>, Andrew Morton <akpm@...>, <linux-kernel@...>, Srivatsa Vaddagiri <vatsa@...>, Dipankar Sarma <dipankar@...>, Ingo Molnar <mingo@...>, Oleg Nesterov <oleg@...>
Subject:
Re: [RFC PATCH 4/5] Remove CPU_DEAD/CPU_UP_CANCELLED handling from workqueue.c
Date: Wednesday, October 24, 2007 - 3:21 am
On Wednesday 24 October 2007 15:37:16 Gautham R Shenoy wrote:
quoted text
> @@ -712,7 +712,7 @@ static void start_workqueue_thread(struc > > if (p != NULL) { > if (cpu >= 0) > - kthread_bind(p, cpu); > + set_cpus_allowed(p, cpumask_of_cpu(cpu)); > wake_up_process(p); > }
Hi Gautham! This works, although the change is unnecessary. If you're going to do this I'd prefer "if (set_cpus_allowed(p, cpumask_of_cpu(cpu)) != 0) BUG();". Cheers, Rusty. -
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:
[RFC PATCH 0/5] Refcount based Cpu Hotplug. V2
, Gautham R Shenoy
, (Wed Oct 24, 1:29 am)
Re: [RFC PATCH 0/5] Refcount based Cpu Hotplug. V2
, Christoph Lameter
, (Wed Oct 24, 1:04 pm)
Re: [RFC PATCH 0/5] Refcount based Cpu Hotplug. V2
, Gautham R Shenoy
, (Wed Oct 24, 2:00 pm)
Re: [RFC PATCH 0/5] Refcount based Cpu Hotplug. V2
, Oleg Nesterov
, (Wed Oct 24, 2:17 pm)
Re: [RFC PATCH 0/5] Refcount based Cpu Hotplug. V2
, Gautham R Shenoy
, (Wed Oct 24, 2:22 pm)
[RFC PATCH 5/5] Update get_online_cpus() in Documentation/cp...
, Gautham R Shenoy
, (Wed Oct 24, 1:39 am)
[RFC PATCH 4/5] Remove CPU_DEAD/CPU_UP_CANCELLED handling fr...
, Gautham R Shenoy
, (Wed Oct 24, 1:37 am)
Re: [RFC PATCH 4/5] Remove CPU_DEAD/CPU_UP_CANCELLED handlin...
, Rusty Russell
, (Wed Oct 24, 3:21 am)
Re: [RFC PATCH 4/5] Remove CPU_DEAD/CPU_UP_CANCELLED handlin...
, Oleg Nesterov
, (Wed Oct 24, 9:44 am)
Re: [RFC PATCH 4/5] Remove CPU_DEAD/CPU_UP_CANCELLED handlin...
, Gautham R Shenoy
, (Wed Oct 24, 4:35 am)
Re: [RFC PATCH 4/5] Remove CPU_DEAD/CPU_UP_CANCELLED handlin...
, Oleg Nesterov
, (Wed Oct 24, 9:38 am)
Re: [RFC PATCH 4/5] Remove CPU_DEAD/CPU_UP_CANCELLED handlin...
, Gautham R Shenoy
, (Wed Oct 24, 1:45 pm)
Re: [RFC PATCH 4/5] Remove CPU_DEAD/CPU_UP_CANCELLED handlin...
, Oleg Nesterov
, (Wed Oct 24, 2:14 pm)
[RFC PATCH 3/5] Replace per-subsystem mutexes with get_onlin...
, Gautham R Shenoy
, (Wed Oct 24, 1:34 am)
[RFC PATCH 2/5] Replace lock_cpu_hotplug() with get_online_c...
, Gautham R Shenoy
, (Wed Oct 24, 1:32 am)
[RFC PATCH 1/5] Refcount Based Cpu Hotplug implementation
, Gautham R Shenoy
, (Wed Oct 24, 1:30 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
[GIT PATCH] driver core patches against 2.6.24
James Bottomley
Re: Announce: Linux-next (Or Andrew's dream :-))
Andrew Morton
echo mem > /sys/power/state
Peter Zijlstra
[PATCH 00/23] per device dirty throttling -v8
git
:
linux-netdev
:
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
David Miller
[GIT]: Networking
Gerrit Renker
[PATCH 18/37] dccp: Support for Mandatory options
Michael S. Tsirkin
Re: [RFC PATCH v2 03/19] vbus: add connection-client helper infrastructure
linux-raid
:
NeilBrown
[PATCH 00/18] Assorted md patches headed for 2.6.30
Justin Piszcz
General question (scheduler) with SSDs?
Neil Brown
Re: Any hope for a 27 disk RAID6+1HS array with four disks reporting "No md superb...
Ryan Wagoner
High IO Wait with RAID 1
Colocation donated by:
Who's online
There are currently
1 user
and
760 guests
online.
Online users
bobby33ser
Syndicate