Mike Travis
cd8ba7cd9b
sched: add new set_cpus_allowed_ptr function
...
Add a new function that accepts a pointer to the "newly allowed cpus"
cpumask argument.
int set_cpus_allowed_ptr(struct task_struct *p, const cpumask_t *new_mask)
The current set_cpus_allowed() function is modified to use the above
but this does not result in an ABI change. And with some compiler
optimization help, it may not introduce any additional overhead.
Additionally, to enforce the read only nature of the new_mask arg, the
"const" property is migrated to sub-functions called by set_cpus_allowed.
This silences compiler warnings.
Signed-off-by: Mike Travis <travis@sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-04-19 19:44:59 +02:00
..
acpi
asm-alpha
asm-generic: add node_to_cpumask_ptr macro
2008-04-19 19:44:58 +02:00
asm-arm
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6
2008-04-18 08:39:24 -07:00
asm-avr32
Generic semaphore implementation
2008-04-17 10:42:34 -04:00
asm-blackfin
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6
2008-04-18 08:39:24 -07:00
asm-cris
Generic semaphore implementation
2008-04-17 10:42:34 -04:00
asm-frv
asm-generic: add node_to_cpumask_ptr macro
2008-04-19 19:44:58 +02:00
asm-generic
asm-generic: add node_to_cpumask_ptr macro
2008-04-19 19:44:58 +02:00
asm-h8300
Generic semaphore implementation
2008-04-17 10:42:34 -04:00
asm-ia64
asm-generic: add node_to_cpumask_ptr macro
2008-04-19 19:44:58 +02:00
asm-m32r
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6
2008-04-18 08:39:24 -07:00
asm-m68k
Generic semaphore implementation
2008-04-17 10:42:34 -04:00
asm-m68knommu
Generic semaphore implementation
2008-04-17 10:42:34 -04:00
asm-mips
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6
2008-04-18 08:39:24 -07:00
asm-mn10300
Generic semaphore implementation
2008-04-17 10:42:34 -04:00
asm-parisc
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6
2008-04-18 08:39:24 -07:00
asm-powerpc
asm-generic: add node_to_cpumask_ptr macro
2008-04-19 19:44:58 +02:00
asm-ppc
asm-s390
Merge branch 'semaphore' of git://git.kernel.org/pub/scm/linux/kernel/git/willy/misc
2008-04-18 08:25:29 -07:00
asm-sh
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6
2008-04-18 08:39:24 -07:00
asm-sparc
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6
2008-04-18 08:39:24 -07:00
asm-sparc64
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6
2008-04-18 08:39:24 -07:00
asm-um
Generic semaphore implementation
2008-04-17 10:42:34 -04:00
asm-v850
Generic semaphore implementation
2008-04-17 10:42:34 -04:00
asm-x86
cpumask: reduce stack usage in SD_x_INIT initializers
2008-04-19 19:44:59 +02:00
asm-xtensa
Generic semaphore implementation
2008-04-17 10:42:34 -04:00
crypto
keys
linux
sched: add new set_cpus_allowed_ptr function
2008-04-19 19:44:59 +02:00
math-emu
media
mtd
net
[INET]: Uninline the __inet_inherit_port call.
2008-04-17 23:18:15 -07:00
pcmcia
rdma
IB/core: Add support for modify CQ
2008-04-16 21:09:33 -07:00
rxrpc
scsi
[SCSI] iscsi: extended cdb support
2008-04-18 11:51:19 -05:00
sound
video
xen
Kbuild