git: Add <sys/cpumask.h>.
Rimvydas Jasinskas
zrj at crater.dragonflybsd.org
Thu Nov 14 05:37:56 PST 2019
commit da82a65a2885f0d063716beb9a62f7d2633a10c3
Author: zrj <rimvydas.jasinskas at gmail.com>
Date: Mon Nov 11 16:46:30 2019 +0200
Add <sys/cpumask.h>.
Collect and gather all scatter cpumask bits to correct headers. This
cleans up the namespace and simplifies platform handling in asm macros.
The cpumask_t together with its macros is already non MI feature that is
used in userland utilities, libraries, kernel scheduler and syscalls.
It deserves sys/ header. Adjust syscalls.master and rerun sysent.
While there, fix an issue in ports that set POSIX env, but has
implementation of setting thread names through pthread_set_name_np().
Summary of changes:
include/pthread_np.h | 15 ++++++--
lib/libthread_xu/thread/thr_private.h | 2 +-
sbin/usched/usched.c | 2 +-
sys/cpu/x86_64/include/cpumask.h | 65 ++++++++++++++++++++++++++++++++---
sys/cpu/x86_64/include/types.h | 22 ------------
sys/kern/init_sysent.c | 1 -
sys/kern/kern_usched.c | 2 +-
sys/kern/makesyscalls.sh | 1 +
sys/kern/syscalls.master | 1 -
sys/platform/pc64/apic/lapic.h | 8 ++---
sys/platform/pc64/include/pmap.h | 3 ++
sys/platform/vkernel64/include/pmap.h | 3 ++
sys/platform/vkernel64/x86_64/mp.c | 3 +-
sys/sys/cpu_topology.h | 2 +-
include/alloca.h => sys/sys/cpumask.h | 42 ++++++++++++++--------
sys/sys/lwp.h | 2 +-
sys/sys/proc.h | 1 +
sys/sys/sched.h | 52 +++-------------------------
sys/sys/sysproto.h | 1 +
sys/sys/thread.h | 3 ++
sys/sys/thread2.h | 10 +++---
sys/sys/usched.h | 7 ++--
usr.sbin/powerd/powerd.c | 2 +-
23 files changed, 139 insertions(+), 111 deletions(-)
copy include/alloca.h => sys/sys/cpumask.h (55%)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/da82a65a2885f0d063716beb9a62f7d2633a10c3
--
DragonFly BSD source repository
More information about the Commits
mailing list