git: lwp: Add two syscalls to set/get lwp's CPU affinity mask.
Sepherosa Ziehau
sephe at crater.dragonflybsd.org
Wed Jan 11 08:32:32 PST 2017
commit 8f95cc347c3b32a29336293e556b2eee9805897d
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date: Mon Jan 9 23:48:18 2017 +0800
lwp: Add two syscalls to set/get lwp's CPU affinity mask.
Summary of changes:
lib/libc/sys/Makefile.inc | 3 +-
lib/libc/sys/Symbol.map | 6 ++
lib/libc/sys/{lwp_setname.2 => lwp_setaffinity.2} | 119 ++++++++++++++++------
sys/kern/init_sysent.c | 3 +
sys/kern/kern_usched.c | 112 ++++++++++++++++++++
sys/kern/syscalls.c | 2 +
sys/kern/syscalls.master | 3 +
sys/sys/param.h | 3 +-
sys/sys/syscall.h | 4 +-
sys/sys/syscall.mk | 4 +-
sys/sys/sysproto.h | 18 ++++
sys/sys/sysunion.h | 2 +
sys/sys/usched.h | 3 +
13 files changed, 249 insertions(+), 33 deletions(-)
copy lib/libc/sys/{lwp_setname.2 => lwp_setaffinity.2} (51%)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8f95cc347c3b32a29336293e556b2eee9805897d
--
DragonFly BSD source repository
More information about the Commits
mailing list