login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
July
»
1
Re: [PATCH repost] sched: export sched_set/getaffinity to modules
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Peter Zijlstra
Subject:
Re: [PATCH repost] sched: export sched_set/getaffinity to modules
Date: Thursday, July 1, 2010 - 4:19 am
On Thu, 2010-07-01 at 14:07 +0300, Michael S. Tsirkin wrote:
quoted text
> Author: Sridhar Samudrala <sri@us.ibm.com> > > sched: export sched_set/getaffinity to modules > > vhost-net driver wants to copy the affinity from the > owner thread to thread it creates. Export > sched_set/get affinity to modules to make this possible > when vhost is built as a module. > > Signed-off-by: Sridhar Samudrala <sri@us.ibm.com> > Signed-off-by: Michael S. Tsirkin <mst@redhat.com> > > --- > > I'm not sure the previous time made it clear what exactly is the > proposed change, so reposting. Info, Peter, could you ack merging the > following through the net-next tree please? > > diff --git a/kernel/sched.c b/kernel/sched.c > index d484081..3759391 100644 > --- a/kernel/sched.c > +++ b/kernel/sched.c > @@ -4744,6 +4744,7 @@ out_put_task: > put_online_cpus(); > return retval; > } > +EXPORT_SYMBOL_GPL(sched_setaffinity); > > static int get_user_cpu_mask(unsigned long __user *user_mask_ptr, unsigned len, > struct cpumask *new_mask) > @@ -4807,6 +4808,7 @@ out_unlock: > > return retval; > } > +EXPORT_SYMBOL_GPL(sched_getaffinity); > > /** > * sys_sched_getaffinity - get the cpu affinity of a process
Urgh,.. so why again is that a good idea? --
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/3] workqueue: Add an API to create a singlethread ...
, Sridhar Samudrala
, (Tue May 18, 5:04 pm)
Re: [PATCH 2/3] workqueue: Add an API to create a singleth ...
, Michael S. Tsirkin
, (Thu May 27, 2:14 am)
Re: [PATCH 2/3] workqueue: Add an API to create a singleth ...
, Oleg Nesterov
, (Thu May 27, 5:44 am)
Re: [PATCH 2/3] workqueue: Add an API to create a singleth ...
, Michael S. Tsirkin
, (Thu May 27, 6:12 am)
Re: [PATCH 2/3] workqueue: Add an API to create a singleth ...
, Tejun Heo
, (Thu May 27, 9:15 am)
Re: [PATCH 2/3] workqueue: Add an API to create a singleth ...
, Sridhar Samudrala
, (Thu May 27, 9:24 am)
Re: [PATCH 2/3] workqueue: Add an API to create a singleth ...
, Michael S. Tsirkin
, (Thu May 27, 9:41 am)
Re: [PATCH 2/3] workqueue: Add an API to create a singleth ...
, Tejun Heo
, (Thu May 27, 9:56 am)
Re: [PATCH 2/3] workqueue: Add an API to create a singleth ...
, Oleg Nesterov
, (Thu May 27, 10:30 am)
Re: [PATCH 2/3] workqueue: Add an API to create a singleth ...
, Michael S. Tsirkin
, (Thu May 27, 10:32 am)
Re: [PATCH 2/3] workqueue: Add an API to create a singleth ...
, Tejun Heo
, (Thu May 27, 2:20 pm)
Re: [PATCH 2/3] workqueue: Add an API to create a singleth ...
, Michael S. Tsirkin
, (Fri May 28, 8:08 am)
Re: [PATCH 2/3] workqueue: Add an API to create a singleth ...
, Tejun Heo
, (Fri May 28, 8:54 am)
Re: [PATCH 2/3] workqueue: Add an API to create a singleth ...
, Michael S. Tsirkin
, (Sun May 30, 4:29 am)
[PATCH 3/3] vhost: apply cpumask and cgroup to vhost pollers
, Tejun Heo
, (Sun May 30, 1:25 pm)
Re: [PATCH 3/3] vhost: apply cpumask and cgroup to vhost p ...
, Li Zefan
, (Sun May 30, 6:11 pm)
[PATCH UPDATED 3/3] vhost: apply cpumask and cgroup to vho ...
, Tejun Heo
, (Sun May 30, 11:58 pm)
Re: [PATCH 2/3] cgroups: Add an API to attach a task to cu ...
, Tejun Heo
, (Mon May 31, 12:00 am)
Re: [PATCH UPDATED 3/3] vhost: apply cpumask and cgroup to ...
, Li Zefan
, (Mon May 31, 12:48 am)
Re: [PATCH UPDATED2 3/3] vhost: apply cpumask and cgroup t ...
, Tejun Heo
, (Mon May 31, 3:20 am)
Re: [PATCH 1/3] vhost: replace vhost_workqueue with per-vh ...
, Oleg Nesterov
, (Mon May 31, 7:39 am)
Re: [PATCH 1/3] vhost: replace vhost_workqueue with per-vh ...
, Tejun Heo
, (Mon May 31, 8:07 am)
Re: [PATCH 1/3] vhost: replace vhost_workqueue with per-vh ...
, Michael S. Tsirkin
, (Mon May 31, 8:22 am)
Re: [PATCH 1/3] vhost: replace vhost_workqueue with per-vh ...
, Oleg Nesterov
, (Mon May 31, 8:31 am)
Re: [PATCH 1/3] vhost: replace vhost_workqueue with per-vh ...
, Tejun Heo
, (Mon May 31, 8:38 am)
Re: [PATCH 1/3] vhost: replace vhost_workqueue with per-vh ...
, Tejun Heo
, (Mon May 31, 8:45 am)
Re: [PATCH 1/3] vhost: replace vhost_workqueue with per-vh ...
, Michael S. Tsirkin
, (Mon May 31, 9:00 am)
[PATCH 3/3] vhost: apply cpumask and cgroup to vhost workers
, Tejun Heo
, (Tue Jun 1, 2:35 am)
Re: [PATCH 3/3] vhost: apply cpumask and cgroup to vhost w ...
, Michael S. Tsirkin
, (Tue Jun 1, 3:17 am)
Re: [PATCH 3/3] vhost: apply cpumask and cgroup to vhost w ...
, Tejun Heo
, (Tue Jun 1, 3:56 am)
Re: [PATCH 1/3] vhost: replace vhost_workqueue with per-vh ...
, Paul E. McKenney
, (Tue Jun 1, 7:13 am)
Re: [PATCH 3/3] vhost: apply cpumask and cgroup to vhost w ...
, Sridhar Samudrala
, (Tue Jun 1, 10:19 am)
Re: [PATCH 3/3] vhost: apply cpumask and cgroup to vhost w ...
, Tejun Heo
, (Tue Jun 1, 4:59 pm)
[PATCH UPDATED 1/3] vhost: replace vhost_workqueue with pe ...
, Tejun Heo
, (Wed Jun 2, 11:40 am)
Re: [PATCH UPDATED 1/3] vhost: replace vhost_workqueue wit ...
, Sridhar Samudrala
, (Wed Jun 2, 2:34 pm)
Re: [PATCH 3/3] vhost: apply cpumask and cgroup to vhost p ...
, Michael S. Tsirkin
, (Thu Jun 24, 1:11 am)
Re: [PATCH 3/3] vhost: apply cpumask and cgroup to vhost p ...
, Sridhar Samudrala
, (Thu Jun 24, 3:45 pm)
[PATCH] sched: export sched_set/getaffinity (was Re: [PATC ...
, Michael S. Tsirkin
, (Fri Jun 25, 3:10 am)
[PATCH repost] sched: export sched_set/getaffinity to modules
, Michael S. Tsirkin
, (Thu Jul 1, 4:07 am)
Re: [PATCH repost] sched: export sched_set/getaffinity to ...
, Peter Zijlstra
, (Thu Jul 1, 4:19 am)
Re: [PATCH repost] sched: export sched_set/getaffinity to ...
, Peter Zijlstra
, (Thu Jul 1, 4:43 am)
Re: [PATCH repost] sched: export sched_set/getaffinity to ...
, Michael S. Tsirkin
, (Thu Jul 1, 4:55 am)
Re: [PATCH repost] sched: export sched_set/getaffinity to ...
, Michael S. Tsirkin
, (Thu Jul 1, 5:23 am)
Re: [PATCH repost] sched: export sched_set/getaffinity to ...
, Peter Zijlstra
, (Thu Jul 1, 5:32 am)
Re: [PATCH repost] sched: export sched_set/getaffinity to ...
, Peter Zijlstra
, (Thu Jul 1, 5:34 am)
Re: [PATCH repost] sched: export sched_set/getaffinity to ...
, Peter Zijlstra
, (Thu Jul 1, 5:46 am)
Re: [PATCH repost] sched: export sched_set/getaffinity to ...
, Michael S. Tsirkin
, (Thu Jul 1, 5:50 am)
Re: [PATCH repost] sched: export sched_set/getaffinity to ...
, Peter Zijlstra
, (Thu Jul 1, 6:07 am)
Re: [PATCH repost] sched: export sched_set/getaffinity to ...
, Michael S. Tsirkin
, (Thu Jul 1, 6:08 am)
Re: [PATCH repost] sched: export sched_set/getaffinity to ...
, Michael S. Tsirkin
, (Thu Jul 1, 6:22 am)
Re: [PATCH repost] sched: export sched_set/getaffinity to ...
, Peter Zijlstra
, (Thu Jul 1, 6:57 am)
Re: [PATCH repost] sched: export sched_set/getaffinity to ...
, Tejun Heo
, (Thu Jul 1, 7:27 am)
Re: [PATCH repost] sched: export sched_set/getaffinity to ...
, Oleg Nesterov
, (Thu Jul 1, 7:33 am)
Re: [PATCH repost] sched: export sched_set/getaffinity to ...
, Oleg Nesterov
, (Thu Jul 1, 7:46 am)
Re: [PATCH repost] sched: export sched_set/getaffinity to ...
, Peter Zijlstra
, (Thu Jul 1, 7:55 am)
Re: [PATCH repost] sched: export sched_set/getaffinity to ...
, Sridhar Samudrala
, (Fri Jul 2, 11:01 am)
Re: [PATCH repost] sched: export sched_set/getaffinity to ...
, Peter Zijlstra
, (Fri Jul 2, 11:11 am)
Re: [PATCH repost] sched: export sched_set/getaffinity to ...
, Oleg Nesterov
, (Fri Jul 2, 2:06 pm)
Re: [PATCH repost] sched: export sched_set/getaffinity to ...
, Michael S. Tsirkin
, (Sun Jul 4, 2:00 am)
Re: [PATCH repost] sched: export sched_set/getaffinity to ...
, Sridhar Samudrala
, (Mon Jul 12, 11:59 pm)
Re: [PATCH repost] sched: export sched_set/getaffinity to ...
, Michael S. Tsirkin
, (Tue Jul 13, 4:09 am)
Re: [PATCH repost] sched: export sched_set/getaffinity to ...
, Sridhar Samudrala
, (Wed Jul 14, 4:26 pm)
Re: [PATCH repost] sched: export sched_set/getaffinity to ...
, Oleg Nesterov
, (Wed Jul 14, 5:05 pm)
Re: [PATCH UPDATED 1/3] vhost: replace vhost_workqueue wit ...
, Michael S. Tsirkin
, (Thu Jul 22, 8:58 am)
Re: [PATCH UPDATED 1/3] vhost: replace vhost_workqueue wit ...
, Tejun Heo
, (Thu Jul 22, 2:21 pm)
Re: [PATCH UPDATED 1/3] vhost: replace vhost_workqueue wit ...
, Michael S. Tsirkin
, (Sat Jul 24, 12:14 pm)
Re: [PATCH UPDATED 1/3] vhost: replace vhost_workqueue wit ...
, Tejun Heo
, (Sun Jul 25, 12:41 am)
Re: [PATCH UPDATED 1/3] vhost: replace vhost_workqueue wit ...
, Michael S. Tsirkin
, (Sun Jul 25, 3:04 am)
Re: [PATCH UPDATED 1/3] vhost: replace vhost_workqueue wit ...
, Michael S. Tsirkin
, (Mon Jul 26, 8:25 am)
Re: [PATCH UPDATED 1/3] vhost: replace vhost_workqueue wit ...
, Tejun Heo
, (Mon Jul 26, 8:34 am)
Re: [PATCH UPDATED 1/3] vhost: replace vhost_workqueue wit ...
, Tejun Heo
, (Mon Jul 26, 8:46 am)
Re: [PATCH UPDATED 1/3] vhost: replace vhost_workqueue wit ...
, Michael S. Tsirkin
, (Mon Jul 26, 8:50 am)
Re: [PATCH UPDATED 1/3] vhost: replace vhost_workqueue wit ...
, Michael S. Tsirkin
, (Mon Jul 26, 8:51 am)
Re: [PATCH UPDATED 1/3] vhost: replace vhost_workqueue wit ...
, Tejun Heo
, (Mon Jul 26, 9:05 am)
Re: [PATCH UPDATED 1/3] vhost: replace vhost_workqueue wit ...
, Tejun Heo
, (Mon Jul 26, 9:14 am)
Re: [PATCH UPDATED 1/3] vhost: replace vhost_workqueue wit ...
, Michael S. Tsirkin
, (Mon Jul 26, 9:23 am)
Re: [PATCH UPDATED 1/3] vhost: replace vhost_workqueue wit ...
, Michael S. Tsirkin
, (Mon Jul 26, 9:31 am)
Re: [PATCH UPDATED 1/3] vhost: replace vhost_workqueue wit ...
, Michael S. Tsirkin
, (Mon Jul 26, 9:51 am)
Re: [PATCH UPDATED 1/3] vhost: replace vhost_workqueue wit ...
, Michael S. Tsirkin
, (Mon Jul 26, 9:57 am)
Re: [PATCH repost] sched: export sched_set/getaffinity to ...
, Michael S. Tsirkin
, (Mon Jul 26, 10:12 am)
Re: [PATCH repost] sched: export sched_set/getaffinity to ...
, Sridhar Samudrala
, (Mon Jul 26, 10:51 am)
Re: [PATCH repost] sched: export sched_set/getaffinity to ...
, Oleg Nesterov
, (Mon Jul 26, 11:08 am)
Re: [PATCH UPDATED 1/3] vhost: replace vhost_workqueue wit ...
, Tejun Heo
, (Mon Jul 26, 11:51 am)
Re: [PATCH UPDATED 1/3] vhost: replace vhost_workqueue wit ...
, Tejun Heo
, (Mon Jul 26, 12:04 pm)
Re: [PATCH UPDATED 1/3] vhost: replace vhost_workqueue wit ...
, Tejun Heo
, (Mon Jul 26, 12:14 pm)
Re: [PATCH UPDATED 1/3] vhost: replace vhost_workqueue wit ...
, Tejun Heo
, (Mon Jul 26, 12:31 pm)
Re: [PATCH repost] sched: export sched_set/getaffinity to ...
, Michael S. Tsirkin
, (Mon Jul 26, 12:55 pm)
Re: [PATCH UPDATED 1/3] vhost: replace vhost_workqueue wit ...
, Michael S. Tsirkin
, (Mon Jul 26, 12:57 pm)
Re: [PATCH UPDATED 1/3] vhost: replace vhost_workqueue wit ...
, Michael S. Tsirkin
, (Mon Jul 26, 12:59 pm)
Re: [PATCH UPDATED 1/3] vhost: replace vhost_workqueue wit ...
, Michael S. Tsirkin
, (Mon Jul 26, 1:19 pm)
Re: [PATCH repost] sched: export sched_set/getaffinity to ...
, Michael S. Tsirkin
, (Mon Jul 26, 1:27 pm)
Re: [PATCH repost] sched: export sched_set/getaffinity to ...
, Michael S. Tsirkin
, (Mon Jul 26, 9:55 pm)
Re: [PATCH UPDATED 1/3] vhost: replace vhost_workqueue wit ...
, Tejun Heo
, (Tue Jul 27, 1:18 am)
Re: [PATCH UPDATED 1/3] vhost: replace vhost_workqueue wit ...
, Tejun Heo
, (Tue Jul 27, 1:21 am)
Re: [PATCH repost] sched: export sched_set/getaffinity to ...
, Michael S. Tsirkin
, (Tue Jul 27, 8:41 am)
Re: [PATCH UPDATED 1/3] vhost: replace vhost_workqueue wit ...
, Michael S. Tsirkin
, (Tue Jul 27, 12:19 pm)
Re: [PATCH UPDATED 1/3] vhost: replace vhost_workqueue wit ...
, Tejun Heo
, (Wed Jul 28, 12:48 am)
Re: [PATCH UPDATED 1/3] vhost: replace vhost_workqueue wit ...
, Michael S. Tsirkin
, (Wed Jul 28, 3:48 am)
Re: [PATCH UPDATED 1/3] vhost: replace vhost_workqueue wit ...
, Tejun Heo
, (Wed Jul 28, 5:00 am)
Re: [PATCH repost] sched: export sched_set/getaffinity to ...
, Oleg Nesterov
, (Fri Jul 30, 7:19 am)
Re: [PATCH repost] sched: export sched_set/getaffinity to ...
, Tejun Heo
, (Fri Jul 30, 7:31 am)
Re: [PATCH repost] sched: export sched_set/getaffinity to ...
, Michael S. Tsirkin
, (Sun Aug 1, 1:50 am)
Re: [PATCH repost] sched: export sched_set/getaffinity to ...
, Oleg Nesterov
, (Mon Aug 2, 8:02 am)
Re: [PATCH repost] sched: export sched_set/getaffinity to ...
, Peter Zijlstra
, (Wed Aug 4, 3:45 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Trent Waddington
Re: Gaming Interface
Takashi Iwai
Re: [PATCH] usb: usbmixer error path fix
Jeremy Fitzhardinge
Re: [patch 1/6] Re-enable VDSO by default with PARAVIRT
Paul E. McKenney
Re: [PATCH, RFC] v4 scalable classic RCU implementation
Greg Kroah-Hartman
[PATCH 20/36] Driver core: Call device_pm_add() after bus_add_device() in device_a...
linux-driver-devel
:
xcbvaq
“手把手”教您运用股权期权这一独特的“创富机
Greg Kroah-Hartman
[PATCH 021/641] Staging: rtl8187se: remove support for older wireless extensions
Greg Kroah-Hartman
[PATCH 544/641] Staging: IIO: tsl2561 digital light sensor core support
Greg Kroah-Hartman
[PATCH 006/641] Staging: android: binder: cleanup some long lines
Greg KH
[PATCH 005/368] Staging: dream: fix memory leak in camera error path
git
:
Stephen R. van den Berg
Re: [RFC] origin link for cherry-pick and revert
Christian Stimming
git-gui: Fix broken revert confirmation.
Junio C Hamano
Re: git-svnimport
Mark Burton
Re: [PATCH] builtin-branch: highlight current remote branches with an asterisk
Johannes Schindelin
Re: [PATCH] Fix approxidate("never") to always return 0
linux-btrfs
:
Yan, Zheng
Re: 2.6.33-rc2+ bug in fs/btrfs/ordered-data.c:672
Lex "x-demon" Rivera
Btrfs fails randomly
Yan Zheng
[PATCH] Update backrefs during dropping snapshot
Peter Grandi
Re: [Jfs-discussion] benchmark results
Tobias Oetiker
Benchmarking btrfs on HW Raid ... BAD
dragonflybsd-commit
:
Sascha Wildner
Re: cvs commit: src/test/test README
Simon 'corecode' Schubert
Re: cvs commit: src/bin/hostname hostname.1 src/bin/domainname domainname....
Sepherosa Ziehau
cvs commit: src/sys/dev/netif/ral rt2661.c rt2661reg.h
Joerg Sonnenberger
cvs commit: src/lib/libc/stdlib getopt_long.c
Max Okumoto
cvs commit: src/usr.bin/make Makefile
Colocation donated by:
Syndicate