CVS commit: src/lib/libc/gen
Module Name:src Committed By: dennis Date: Sat Jun 13 17:28:42 UTC 2015 Modified Files: src/lib/libc/gen: nlist_private.h Log Message: Add entries for riscv and aarch64. This lets the former build complete and gets the latter close to the end. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/lib/libc/gen/nlist_private.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gcc/dist/gcc/config/rs6000
Module Name:src Committed By: dennis Date: Thu Apr 2 16:49:09 UTC 2015 Modified Files: src/external/gpl3/gcc/dist/gcc/config/rs6000: netbsd64.h Log Message: Make the small [U]INT_LEAST?_TYPE definitions match the 32 bit compiler To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 \ src/external/gpl3/gcc/dist/gcc/config/rs6000/netbsd64.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys
Module Name:src Committed By: dennis Date: Fri Jan 16 21:41:07 UTC 2015 Modified Files: src/sys/rump/include/rump: rump_namei.h src/sys/sys: namei.h Log Message: Regen. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/sys/rump/include/rump/rump_namei.h cvs rdiff -u -r1.91 -r1.92 src/sys/sys/namei.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/sys
Module Name:src Committed By: dennis Date: Fri Jan 16 21:38:26 UTC 2015 Modified Files: src/sys/sys: namei.src Log Message: Don't nest structure definitions. This modification was made directly to sys/sys/namei.h (1.90) but was inadvertently lost as a result of the previous revision here. Restore the lost change here instead. To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 src/sys/sys/namei.src Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/kern
Module Name:src Committed By: dennis Date: Fri Jan 16 20:10:25 UTC 2015 Modified Files: src/sys/kern: vfs_cache.c Log Message: Add a membar_datadep_consumer() before dereferencing the pointer to a cache entry in cache_lookup_entry(). The entries are being added to the list it is looking at without mutually-exclusive locking, so this is necessary to keep some Alphas from seeing stale data when the pointer is newly-updated. XXX this is doing lockless adds to a list maintained with LIST_* macros. To generate a diff of this commit: cvs rdiff -u -r1.104 -r1.105 src/sys/kern/vfs_cache.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/arch/powerpc64
Module Name:src Committed By: dennis Date: Mon Jan 12 02:48:20 UTC 2015 Modified Files: src/lib/libc/arch/powerpc64: SYS.h src/lib/libc/arch/powerpc64/sys: cerror.S Log Message: Replace the branch to __cerror() in powerpc64 syscall stubs with inline code which does what __cerror() was doing. #ifdef that code (i.e. all code) out of cerror.S; __cerror() is no more. This seems to be necessary to fix the link of rescue/rescue, and should have the pleasant side effect of making all other workarounds done to keep the 'b __cerror' working unnecessary. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/lib/libc/arch/powerpc64/SYS.h cvs rdiff -u -r1.6 -r1.7 src/lib/libc/arch/powerpc64/sys/cerror.S Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/powerpc/include
Module Name:src Committed By: dennis Date: Mon Jan 12 02:32:33 UTC 2015 Modified Files: src/sys/arch/powerpc/include: asm.h Log Message: Name the offsets to the remaining fields in the ppc64 stack frame header. Add a stack frame alignment macro to avoid hard-coding that. To generate a diff of this commit: cvs rdiff -u -r1.47 -r1.48 src/sys/arch/powerpc/include/asm.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src
Module Name:src Committed By: dennis Date: Wed Dec 24 20:01:22 UTC 2014 Modified Files: src/sys/kern: vfs_cache.c src/usr.bin/systat: vmstat.c src/usr.bin/vmstat: vmstat.c Log Message: Update stats-keeping in sys/kern/vfs_cache.c to remove (most) races while allowing consistent lockless sampling of the per-cpu statistics without atomic operations. Update comment describing the locking protocol to include this. These files were fumble-fingered out of the last commit. To generate a diff of this commit: cvs rdiff -u -r1.102 -r1.103 src/sys/kern/vfs_cache.c cvs rdiff -u -r1.80 -r1.81 src/usr.bin/systat/vmstat.c cvs rdiff -u -r1.205 -r1.206 src/usr.bin/vmstat/vmstat.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys
Module Name:src Committed By: dennis Date: Wed Dec 24 19:56:49 UTC 2014 Modified Files: src/sys/rump/include/rump: rump_namei.h src/sys/sys: namei.h Log Message: Update stats-keeping in sys/kern/vfs_cache.c to remove (most) races while allowing consistent lockless sampling of the per-cpu statistics without atomic operations. Update comment describing the locking protocol to include this. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/sys/rump/include/rump/rump_namei.h cvs rdiff -u -r1.90 -r1.91 src/sys/sys/namei.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/sys
Module Name:src Committed By: dennis Date: Wed Dec 24 19:50:04 UTC 2014 Modified Files: src/sys/sys: namei.src Log Message: Update struct nchstats to 64 bit counters on all machines. Remove the now-redundant struct nchstats_sysctl. Containerize structure member names with a macro to eliminate cut-and-paste. To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/sys/sys/namei.src Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/doc
Module Name:src Committed By: dennis Date: Mon Dec 22 21:20:11 UTC 2014 Modified Files: src/doc: HACKS Log Message: Remove note of hack around for riscv compiler problems with atomics. This seems to now be fixed. To generate a diff of this commit: cvs rdiff -u -r1.153 -r1.154 src/doc/HACKS Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gcc
Module Name:src Committed By: dennis Date: Mon Dec 22 21:15:48 UTC 2014 Modified Files: src/external/gpl3/gcc/dist/gcc/config/riscv: sync.md src/external/gpl3/gcc/lib/libasan: Makefile Log Message: Apply a fix, extracted from the UCB RISC-V gcc sources, for the (known) problems with compiling atomics for the riscv64 target with gcc. Remove the now-unneeded workarounds for the 2 files in libasan that were formerly failing to compile with the optimizer turned on. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/external/gpl3/gcc/dist/gcc/config/riscv/sync.md cvs rdiff -u -r1.8 -r1.9 src/external/gpl3/gcc/lib/libasan/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/w
Module Name:src Committed By: dennis Date: Mon Dec 22 15:24:14 UTC 2014 Modified Files: src/usr.bin/w: w.c Log Message: Move enough additional 'w' code into 'uptime' to keep the latter from double-counting utmp users. To generate a diff of this commit: cvs rdiff -u -r1.81 -r1.82 src/usr.bin/w/w.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
Module Name:src Committed By: dennis Date: Sun Dec 7 22:23:38 UTC 2014 Modified Files: src/sys/kern: vfs_cache.c Log Message: Take 2. Do a fairly mechanical reversion of the locking protocol to that of revision 1.94. Add a comment documenting my best guess about the locking requirements in this subsystem. Don't take locks solely for the sake of stats counter increments; the locking around the increment of ->ncs_pass2 and/or ->ncs_2passes caused a deadlock. Defer fixing stats-keeping to allow this change to be easily backed out of. To generate a diff of this commit: cvs rdiff -u -r1.101 -r1.102 src/sys/kern/vfs_cache.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/doc
Module Name:src Committed By: dennis Date: Tue Dec 2 08:31:18 UTC 2014 Modified Files: src/doc: HACKS Log Message: Note riscv compiler workarounds for libasan To generate a diff of this commit: cvs rdiff -u -r1.152 -r1.153 src/doc/HACKS Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gcc/lib/libasan
Module Name:src Committed By: dennis Date: Tue Dec 2 03:20:39 UTC 2014 Modified Files: src/external/gpl3/gcc/lib/libasan: Makefile Log Message: Work around RISC-V compiler bug in gcc 4.8.3 (at least). Should be reconsidered if the compiler is updated. PR toolchain/49425 To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/external/gpl3/gcc/lib/libasan/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/kern
Module Name:src Committed By: dennis Date: Sun Nov 30 04:11:03 UTC 2014 Modified Files: src/sys/kern: vfs_cache.c Log Message: Do a fairly mechanical reversion of the locking protocol to that of revision 1.97. Add a comment documenting my best guess about the locking requirements in this subsystem. Leave the locks taken solely for stats counter increments in place for now; they should ultimately go but that is a bigger change. To generate a diff of this commit: cvs rdiff -u -r1.99 -r1.100 src/sys/kern/vfs_cache.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch
Module Name:src Committed By: dennis Date: Wed Oct 29 01:33:39 UTC 2014 Modified Files: src/sys/arch/aarch64/include: byte_swap.h src/sys/arch/or1k/include: byte_swap.h Log Message: Correct 32 and 64 bit byte swap inlines To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/arch/aarch64/include/byte_swap.h cvs rdiff -u -r1.1 -r1.2 src/sys/arch/or1k/include/byte_swap.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/riscv/include
Module Name:src Committed By: dennis Date: Tue Oct 28 20:25:36 UTC 2014 Modified Files: src/sys/arch/riscv/include: byte_swap.h Log Message: Shave an instruction from the generated code for the 32 bit byte swap inline. Prune 5 or 9 instructions (depending on what you count) from the 64 bit byte swap inline. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/arch/riscv/include/byte_swap.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/riscv/include
Module Name:src Committed By: dennis Date: Tue Oct 28 19:46:18 UTC 2014 Modified Files: src/sys/arch/riscv/include: byte_swap.h Log Message: Correct 32 and 64 bit byte swap inlines. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/riscv/include/byte_swap.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/riscv/include
Module Name:src Committed By: dennis Date: Fri Oct 24 01:08:07 UTC 2014 Modified Files: src/sys/arch/riscv/include: mcontext.h Log Message: Fix a typo: the PC is likely in _REG_PC To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/riscv/include/mcontext.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/common/lib/libc/arch/riscv/atomic
Module Name:src Committed By: dennis Date: Thu Oct 16 18:52:17 UTC 2014 Modified Files: src/common/lib/libc/arch/riscv/atomic: Makefile.inc Log Message: Add missing C11 atomic support functions to repair prior build breakage. matt@ made me do this. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/common/lib/libc/arch/riscv/atomic/Makefile.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.