CVS commit: src/sys/kern

2020-12-15 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Tue Dec 15 08:17:31 UTC 2020

Modified Files:
src/sys/kern: kern_mutex.c

Log Message:
Fixup the big mutex_exit comment a little. It's actually, cpu_switchto
that posts a store fence and it's AFTER setting curlwp.

More to come.


To generate a diff of this commit:
cvs rdiff -u -r1.93 -r1.94 src/sys/kern/kern_mutex.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/kern

2020-12-15 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Tue Dec 15 08:35:52 UTC 2020

Modified Files:
src/sys/kern: kern_mutex.c

Log Message:
it's cpu_switchto (not cpu_switch)


To generate a diff of this commit:
cvs rdiff -u -r1.94 -r1.95 src/sys/kern/kern_mutex.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [thorpej-futex] src/sys/compat/linux

2020-12-15 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Tue Dec 15 14:07:21 UTC 2020

Modified Files:
src/sys/compat/linux/arch/alpha [thorpej-futex]: syscalls.master
src/sys/compat/linux/arch/amd64 [thorpej-futex]: syscalls.master
src/sys/compat/linux/arch/arm [thorpej-futex]: syscalls.master
src/sys/compat/linux/arch/i386 [thorpej-futex]: syscalls.master
src/sys/compat/linux/arch/m68k [thorpej-futex]: syscalls.master
src/sys/compat/linux/arch/mips [thorpej-futex]: syscalls.master
src/sys/compat/linux/arch/powerpc [thorpej-futex]: syscalls.master
src/sys/compat/linux/common [thorpej-futex]: linux_ioctl.c
linux_ioctl.h linux_misc.c linux_sched.h linux_sigevent.h
linux_signal.c linux_time.c

Log Message:
Add Linux eventfd, timerfd, and POSIX timer calls.


To generate a diff of this commit:
cvs rdiff -u -r1.97 -r1.97.2.1 \
src/sys/compat/linux/arch/alpha/syscalls.master
cvs rdiff -u -r1.62 -r1.62.2.1 \
src/sys/compat/linux/arch/amd64/syscalls.master
cvs rdiff -u -r1.69 -r1.69.2.1 src/sys/compat/linux/arch/arm/syscalls.master
cvs rdiff -u -r1.124 -r1.124.2.1 \
src/sys/compat/linux/arch/i386/syscalls.master
cvs rdiff -u -r1.95 -r1.95.2.1 src/sys/compat/linux/arch/m68k/syscalls.master
cvs rdiff -u -r1.68 -r1.68.2.1 src/sys/compat/linux/arch/mips/syscalls.master
cvs rdiff -u -r1.74 -r1.74.2.1 \
src/sys/compat/linux/arch/powerpc/syscalls.master
cvs rdiff -u -r1.58 -r1.58.42.1 src/sys/compat/linux/common/linux_ioctl.c
cvs rdiff -u -r1.27 -r1.27.46.1 src/sys/compat/linux/common/linux_ioctl.h
cvs rdiff -u -r1.251 -r1.251.2.1 src/sys/compat/linux/common/linux_misc.c
cvs rdiff -u -r1.8 -r1.8.64.1 src/sys/compat/linux/common/linux_sched.h
cvs rdiff -u -r1.2 -r1.2.100.1 src/sys/compat/linux/common/linux_sigevent.h
cvs rdiff -u -r1.83 -r1.83.2.1 src/sys/compat/linux/common/linux_signal.c
cvs rdiff -u -r1.39 -r1.39.16.1 src/sys/compat/linux/common/linux_time.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [thorpej-futex] src/sys/compat/linux/arch

2020-12-15 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Tue Dec 15 14:07:52 UTC 2020

Modified Files:
src/sys/compat/linux/arch/alpha [thorpej-futex]: linux_syscall.h
linux_syscallargs.h linux_syscalls.c linux_sysent.c
src/sys/compat/linux/arch/amd64 [thorpej-futex]: linux_syscall.h
linux_syscallargs.h linux_syscalls.c linux_sysent.c
linux_systrace_args.c
src/sys/compat/linux/arch/arm [thorpej-futex]: linux_syscall.h
linux_syscallargs.h linux_syscalls.c linux_sysent.c
linux_systrace_args.c
src/sys/compat/linux/arch/i386 [thorpej-futex]: linux_syscall.h
linux_syscallargs.h linux_syscalls.c linux_sysent.c
linux_systrace_args.c
src/sys/compat/linux/arch/m68k [thorpej-futex]: linux_syscall.h
linux_syscallargs.h linux_syscalls.c linux_sysent.c
src/sys/compat/linux/arch/mips [thorpej-futex]: linux_syscall.h
linux_syscallargs.h linux_syscalls.c linux_sysent.c
src/sys/compat/linux/arch/powerpc [thorpej-futex]: linux_syscall.h
linux_syscallargs.h linux_syscalls.c linux_sysent.c

Log Message:
Regen for eventfd, timerfd, POSIX timers.


To generate a diff of this commit:
cvs rdiff -u -r1.110 -r1.110.2.1 \
src/sys/compat/linux/arch/alpha/linux_syscall.h \
src/sys/compat/linux/arch/alpha/linux_sysent.c
cvs rdiff -u -r1.109 -r1.109.2.1 \
src/sys/compat/linux/arch/alpha/linux_syscallargs.h
cvs rdiff -u -r1.111 -r1.111.2.1 \
src/sys/compat/linux/arch/alpha/linux_syscalls.c
cvs rdiff -u -r1.71 -r1.71.2.1 \
src/sys/compat/linux/arch/amd64/linux_syscall.h \
src/sys/compat/linux/arch/amd64/linux_syscallargs.h \
src/sys/compat/linux/arch/amd64/linux_syscalls.c \
src/sys/compat/linux/arch/amd64/linux_sysent.c
cvs rdiff -u -r1.15 -r1.15.2.1 \
src/sys/compat/linux/arch/amd64/linux_systrace_args.c
cvs rdiff -u -r1.82 -r1.82.2.1 src/sys/compat/linux/arch/arm/linux_syscall.h \
src/sys/compat/linux/arch/arm/linux_syscallargs.h \
src/sys/compat/linux/arch/arm/linux_syscalls.c \
src/sys/compat/linux/arch/arm/linux_sysent.c
cvs rdiff -u -r1.15 -r1.15.2.1 \
src/sys/compat/linux/arch/arm/linux_systrace_args.c
cvs rdiff -u -r1.116 -r1.116.2.1 \
src/sys/compat/linux/arch/i386/linux_syscall.h \
src/sys/compat/linux/arch/i386/linux_syscallargs.h \
src/sys/compat/linux/arch/i386/linux_sysent.c
cvs rdiff -u -r1.117 -r1.117.2.1 \
src/sys/compat/linux/arch/i386/linux_syscalls.c
cvs rdiff -u -r1.11 -r1.11.2.1 \
src/sys/compat/linux/arch/i386/linux_systrace_args.c
cvs rdiff -u -r1.108 -r1.108.2.1 \
src/sys/compat/linux/arch/m68k/linux_syscall.h \
src/sys/compat/linux/arch/m68k/linux_syscalls.c \
src/sys/compat/linux/arch/m68k/linux_sysent.c
cvs rdiff -u -r1.107 -r1.107.2.1 \
src/sys/compat/linux/arch/m68k/linux_syscallargs.h
cvs rdiff -u -r1.80 -r1.80.2.1 src/sys/compat/linux/arch/mips/linux_syscall.h
cvs rdiff -u -r1.79 -r1.79.2.1 \
src/sys/compat/linux/arch/mips/linux_syscallargs.h \
src/sys/compat/linux/arch/mips/linux_syscalls.c \
src/sys/compat/linux/arch/mips/linux_sysent.c
cvs rdiff -u -r1.86 -r1.86.2.1 \
src/sys/compat/linux/arch/powerpc/linux_syscall.h \
src/sys/compat/linux/arch/powerpc/linux_sysent.c
cvs rdiff -u -r1.85 -r1.85.2.1 \
src/sys/compat/linux/arch/powerpc/linux_syscallargs.h \
src/sys/compat/linux/arch/powerpc/linux_syscalls.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-12-15 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Tue Dec 15 15:20:05 UTC 2020

Modified Files:
src/usr.bin/make: hash.c

Log Message:
make(1): clean up hash function for HashTable

Expressing a multiplication as a bit shifts and subtraction is the job
of the compiler.  For humans, a multiplication is easier to read.


To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 src/usr.bin/make/hash.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-12-15 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Tue Dec 15 16:24:18 UTC 2020

Modified Files:
src/usr.bin/make: for.c

Log Message:
make(1): indent for.c using tabs instead of spaces


To generate a diff of this commit:
cvs rdiff -u -r1.117 -r1.118 src/usr.bin/make/for.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-12-15 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Tue Dec 15 16:30:56 UTC 2020

Modified Files:
src/usr.bin/make: job.h

Log Message:
make(1): indent job.h with tabs instead of spaces


To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.70 src/usr.bin/make/job.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-12-15 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Tue Dec 15 19:47:02 UTC 2020

Modified Files:
src/usr.bin/make: make.c

Log Message:
make(1): extract MakeChildren from MakeStartJobs


To generate a diff of this commit:
cvs rdiff -u -r1.227 -r1.228 src/usr.bin/make/make.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-12-15 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Tue Dec 15 20:17:08 UTC 2020

Modified Files:
src/usr.bin/make: make.c

Log Message:
make(1): indent make.c with tabs instead of spaces


To generate a diff of this commit:
cvs rdiff -u -r1.228 -r1.229 src/usr.bin/make/make.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-12-15 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Tue Dec 15 20:39:15 UTC 2020

Modified Files:
src/usr.bin/make: nonints.h util.c

Log Message:
make(1): indent nonints.h and util.c with tabs instead of spaces


To generate a diff of this commit:
cvs rdiff -u -r1.171 -r1.172 src/usr.bin/make/nonints.h
cvs rdiff -u -r1.71 -r1.72 src/usr.bin/make/util.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-12-15 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Tue Dec 15 21:19:47 UTC 2020

Modified Files:
src/usr.bin/make: job.c targ.c

Log Message:
make(1): format function definitions consistently


To generate a diff of this commit:
cvs rdiff -u -r1.387 -r1.388 src/usr.bin/make/job.c
cvs rdiff -u -r1.155 -r1.156 src/usr.bin/make/targ.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/jemalloc/include/jemalloc/internal

2020-12-15 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Wed Dec 16 01:20:19 UTC 2020

Modified Files:
src/external/bsd/jemalloc/include/jemalloc/internal:
jemalloc_internal_defs.h

Log Message:
Correct and extend comments on VA for alpha. No binary changes.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 \
src/external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/jemalloc/lib

2020-12-15 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Wed Dec 16 01:21:32 UTC 2020

Modified Files:
src/external/bsd/jemalloc/lib: Makefile.inc

Log Message:
For alpha, apply -O0 hack again to rtree.c for GCC9.
Otherwise, GDB11 crashes in strange ways.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/external/bsd/jemalloc/lib/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/doc

2020-12-15 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Wed Dec 16 01:35:39 UTC 2020

Modified Files:
src/doc: HACKS

Log Message:
-O0 hack was reintroduced to jemalloc/rtree.c for GCC9 on alpha.


To generate a diff of this commit:
cvs rdiff -u -r1.215 -r1.216 src/doc/HACKS

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [thorpej-futex] src/sys/compat/linux32

2020-12-15 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Wed Dec 16 03:07:43 UTC 2020

Modified Files:
src/sys/compat/linux32/arch/amd64 [thorpej-futex]: syscalls.master
src/sys/compat/linux32/common [thorpej-futex]: linux32_misc.c

Log Message:
Add eventfd glue to COMPAT_LINUX32.


To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.71.2.1 \
src/sys/compat/linux32/arch/amd64/syscalls.master
cvs rdiff -u -r1.30 -r1.30.2.1 src/sys/compat/linux32/common/linux32_misc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [thorpej-futex] src/sys/compat/linux32/arch/amd64

2020-12-15 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Wed Dec 16 03:08:01 UTC 2020

Modified Files:
src/sys/compat/linux32/arch/amd64 [thorpej-futex]: linux32_syscall.h
linux32_syscallargs.h linux32_syscalls.c linux32_sysent.c
linux32_systrace_args.c

Log Message:
Regen for eventfd.


To generate a diff of this commit:
cvs rdiff -u -r1.81 -r1.81.2.1 \
src/sys/compat/linux32/arch/amd64/linux32_syscall.h \
src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h \
src/sys/compat/linux32/arch/amd64/linux32_syscalls.c \
src/sys/compat/linux32/arch/amd64/linux32_sysent.c
cvs rdiff -u -r1.8 -r1.8.2.1 \
src/sys/compat/linux32/arch/amd64/linux32_systrace_args.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.