CVS commit: src/common/lib/libc/gmon

2021-08-14 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Sat Aug 14 17:38:44 UTC 2021 Modified Files: src/common/lib/libc/gmon: mcount.c Log Message: don't include "opt_multiprocessor.h" inside an ifdef to work "make depend" properly. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/common/lib/libc/arch/aarch64/atomic

2021-08-08 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Aug 8 07:17:18 UTC 2021 Modified Files: src/common/lib/libc/arch/aarch64/atomic: __aarch64_lse.S Log Message: Whitespace To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 \

CVS commit: src/common/lib/libc/arch/aarch64/atomic

2021-07-29 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Jul 29 10:29:05 UTC 2021 Modified Files: src/common/lib/libc/arch/aarch64/atomic: atomic_add_16.S atomic_add_32.S atomic_add_64.S atomic_add_8.S atomic_and_16.S atomic_and_32.S atomic_and_64.S

CVS commit: src/common/lib/libc/arch/arm/atomic

2021-07-28 Thread Simon Burge
Module Name:src Committed By: simonb Date: Wed Jul 28 08:01:10 UTC 2021 Modified Files: src/common/lib/libc/arch/arm/atomic: atomic_op_asm.h Log Message: #define consistency. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10

CVS commit: src/common/lib/libc/arch/arm/atomic

2021-07-28 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Wed Jul 28 07:32:20 UTC 2021 Modified Files: src/common/lib/libc/arch/arm/atomic: atomic_add_16.S atomic_add_32.S atomic_add_64.S atomic_add_8.S atomic_and_16.S atomic_and_32.S atomic_and_64.S atomic_and_8.S

CVS commit: src/common/lib/libc/arch/arm/atomic

2021-07-10 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sat Jul 10 06:53:40 UTC 2021 Modified Files: src/common/lib/libc/arch/arm/atomic: atomic_add_16.S atomic_add_32.S atomic_add_64.S atomic_add_8.S atomic_and_16.S atomic_and_32.S atomic_and_64.S atomic_and_8.S

CVS commit: src/common/lib/libc/arch/aarch64/atomic

2021-07-06 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Tue Jul 6 08:31:41 UTC 2021 Modified Files: src/common/lib/libc/arch/aarch64/atomic: atomic_nand_16.S Log Message: One more s/pte/ptr/ To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 \

CVS commit: src/common/lib/libc/arch/aarch64/atomic

2021-07-05 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Mon Jul 5 08:50:31 UTC 2021 Modified Files: src/common/lib/libc/arch/aarch64/atomic: atomic_nand_32.S atomic_nand_64.S atomic_nand_8.S Log Message: typo in comment s/pte/ptr/ To generate a diff of this commit: cvs

CVS commit: src/common/lib/libc/arch/aarch64/atomic

2021-07-04 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Jul 4 06:55:47 UTC 2021 Modified Files: src/common/lib/libc/arch/aarch64/atomic: atomic_nand_16.S atomic_nand_32.S atomic_nand_64.S atomic_nand_8.S Log Message: Fix the logic operation for atomic_nand_{8,16,32,64}

CVS commit: src/common/lib/libc/arch/arm/atomic

2021-06-29 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Tue Jun 29 06:28:07 UTC 2021 Modified Files: src/common/lib/libc/arch/arm/atomic: atomic_cas_8.S Log Message: Whitespace To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8

CVS commit: src/common/lib/libc/arch/arm/atomic

2021-06-28 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Mon Jun 28 09:00:45 UTC 2021 Modified Files: src/common/lib/libc/arch/arm/atomic: atomic_add_64.S atomic_and_64.S atomic_nand_64.S atomic_or_64.S atomic_sub_64.S atomic_swap_64.S atomic_xor_64.S Log

CVS commit: src/common/lib/libc/string

2021-05-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 16 09:43:39 UTC 2021 Modified Files: src/common/lib/libc/string: memmem.c Log Message: memmem: remove unreachable return statement To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

CVS commit: src/common/lib/libc

2021-04-27 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Tue Apr 27 09:14:24 UTC 2021 Modified Files: src/common/lib/libc: Makefile.inc src/common/lib/libc/arch/aarch64/atomic: Makefile.inc Added Files: src/common/lib/libc/arch/aarch64/atomic: __aarch64_lse.S Removed

CVS commit: src/common/lib/libc/arch/arm/atomic

2021-04-26 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Tue Apr 27 05:40:29 UTC 2021 Modified Files: src/common/lib/libc/arch/arm/atomic: membar_ops.S Log Message: Improve the membar_ops barriers - no need to use dsb and wait for completion. Also, we only to act on the inner

CVS commit: src/common/lib/libc/arch/arm/atomic

2021-04-26 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Mon Apr 26 21:40:21 UTC 2021 Modified Files: src/common/lib/libc/arch/arm/atomic: atomic_swap.S atomic_swap_16.S atomic_swap_64.S Log Message: Add the appropriate memory barrier before the lock is cleared in

CVS commit: src/common/lib/libc/arch/mips/atomic

2021-04-25 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Apr 25 22:45:16 UTC 2021 Modified Files: src/common/lib/libc/arch/mips/atomic: Makefile.inc Log Message: use ${MACHINE_MIPS64} To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15

CVS commit: src/common/lib/libc/arch/arm/atomic

2021-04-24 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sat Apr 24 20:34:34 UTC 2021 Modified Files: src/common/lib/libc/arch/arm/atomic: atomic_swap.S atomic_swap_64.S Log Message: Trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16

CVS commit: src/common/lib/libc/arch/arm/atomic

2021-04-24 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sat Apr 24 20:29:04 UTC 2021 Modified Files: src/common/lib/libc/arch/arm/atomic: atomic_swap.S Log Message: Fix __sync_lock_release_4 to actually zeroise the whole 4bytes/32bits. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/common/lib/libc/arch/aarch64/atomic

2021-04-21 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Wed Apr 21 16:23:47 UTC 2021 Modified Files: src/common/lib/libc/arch/aarch64/atomic: Makefile.inc atomic_swap_16.S atomic_swap_32.S atomic_swap_64.S atomic_swap_8.S Added Files:

CVS commit: src/common/lib/libc/arch/aarch64/atomic

2021-04-21 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Wed Apr 21 07:31:38 UTC 2021 Modified Files: src/common/lib/libc/arch/aarch64/atomic: Makefile.inc atomic_swap_16.S atomic_swap_32.S atomic_swap_64.S atomic_swap_8.S Added Files:

CVS commit: src/common/lib/libc/string

2021-04-18 Thread Simon Burge
Module Name:src Committed By: simonb Date: Mon Apr 19 01:12:10 UTC 2021 Modified Files: src/common/lib/libc/string: memset2.c Log Message: Add CVS ID line. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/common/lib/libc/string/memset2.c Please note

CVS commit: src/common/lib/libc/string

2021-04-17 Thread matthew green
Module Name:src Committed By: mrg Date: Sat Apr 17 21:43:47 UTC 2021 Modified Files: src/common/lib/libc/string: memset2.c Log Message: avoid redefinition warning for __OPTIMIZE_SIZE__. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9

CVS commit: src/common/lib/libc/string

2021-04-17 Thread Simon Burge
Module Name:src Committed By: simonb Date: Sat Apr 17 08:06:58 UTC 2021 Modified Files: src/common/lib/libc/string: memset2.c Log Message: Use __register_t instead of uregister_t - this is available to all ports and both userland and kernel. To generate a diff of this

CVS commit: src/common/lib/libc/string

2021-04-17 Thread Simon Burge
Module Name:src Committed By: simonb Date: Sat Apr 17 06:02:35 UTC 2021 Modified Files: src/common/lib/libc/string: memset2.c Log Message: Cast the fill value to unsigned char so that the "fill" value used for full-word fills isn't garbage. To generate a diff of this

CVS commit: src/common/lib/libc/string

2021-04-16 Thread Simon Burge
Module Name:src Committed By: simonb Date: Sat Apr 17 05:57:11 UTC 2021 Modified Files: src/common/lib/libc/string: memset2.c Log Message: Disable the larger/faster code path. While the optimised code path was indeed quicker, it nonetheless failed to actually fill all

CVS commit: src/common/lib/libc/arch/arm/gen

2020-12-11 Thread David A. Holland
Module Name:src Committed By: dholland Date: Fri Dec 11 09:02:33 UTC 2020 Modified Files: src/common/lib/libc/arch/arm/gen: byte_swap_4.S Log Message: arm bswap32: fix fatal typo in thumb code (PR 55854) To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9

CVS commit: src/common/lib/libc/arch/arm/gen

2020-12-08 Thread David A. Holland
Module Name:src Committed By: dholland Date: Wed Dec 9 02:46:57 UTC 2020 Modified Files: src/common/lib/libc/arch/arm/gen: byte_swap_4.S Log Message: arm bswap32: Improve the comments showing the byte flow. It's confusing to use 1-4 for bytes 1-4 and then 0 for literal

CVS commit: src/common/lib/libc/arch/aarch64/atomic

2020-10-13 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Tue Oct 13 21:22:12 UTC 2020 Modified Files: src/common/lib/libc/arch/aarch64/atomic: membar_ops.S Log Message: Use the correct barriers - all of membar_{sync,producer,consumer} have less scope than before. LGTM from riastradh

CVS commit: src/common/lib/libc/arch/aarch64/atomic

2020-10-13 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Tue Oct 13 21:17:35 UTC 2020 Modified Files: src/common/lib/libc/arch/aarch64/atomic: atomic_op_asm.h Log Message: Remove memory barriers from the atomic ops macros in the same way as was done for the other atomic ops earlier.

CVS commit: src/common/lib/libc/arch/aarch64/atomic

2020-10-07 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Wed Oct 7 07:34:30 UTC 2020 Modified Files: src/common/lib/libc/arch/aarch64/atomic: atomic_op_asm.h Log Message: Comment nit To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 \

CVS commit: src/common/lib/libc/arch/aarch64/atomic

2020-10-07 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Wed Oct 7 07:31:47 UTC 2020 Modified Files: src/common/lib/libc/arch/aarch64/atomic: atomic_cas_16.S atomic_cas_32.S atomic_cas_64.S atomic_cas_8.S Log Message: Comment nit To generate a diff of this commit: cvs

CVS commit: src/common/lib/libc/arch/aarch64/string

2020-09-09 Thread Jonathan A. Kollasch
Module Name:src Committed By: jakllsch Date: Wed Sep 9 14:49:27 UTC 2020 Modified Files: src/common/lib/libc/arch/aarch64/string: strlen.S Log Message: Re-do previous aarch64eb strlen fix more simply and correctly. To generate a diff of this commit: cvs rdiff -u -r1.4

CVS commit: src/common/lib/libc/atomic

2020-09-06 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Sep 7 00:52:19 UTC 2020 Modified Files: src/common/lib/libc/atomic: atomic_c11_compare_exchange_cas_16.c atomic_c11_compare_exchange_cas_32.c atomic_c11_compare_exchange_cas_8.c atomic_load.c

CVS commit: src/common/lib/libc/arch/aarch64/string

2020-09-05 Thread Jonathan A. Kollasch
Module Name:src Committed By: jakllsch Date: Sat Sep 5 20:24:43 UTC 2020 Modified Files: src/common/lib/libc/arch/aarch64/string: strlen.S Log Message: Fix a broken corner case of strlen()/strnlen() on aarch64eb Previously a string such as "\x1\x1\x1\x1\x1\x1\x1" would

CVS commit: src/common/lib/libc/arch/aarch64/gen

2020-09-03 Thread Jonathan A. Kollasch
Module Name:src Committed By: jakllsch Date: Thu Sep 3 16:45:50 UTC 2020 Removed Files: src/common/lib/libc/arch/aarch64/gen: clzdi2.S ctzdi2.S ffsdi2.S Log Message: Remove unused assembly source files To generate a diff of this commit: cvs rdiff -u -r1.2 -r0

CVS commit: src/common/lib/libc/arch/aarch64/gen

2020-09-02 Thread Jonathan A. Kollasch
Module Name:src Committed By: jakllsch Date: Wed Sep 2 15:43:06 UTC 2020 Modified Files: src/common/lib/libc/arch/aarch64/gen: clzdi2.S Log Message: Fix typo/pasteo in aarch64 clzdi2() END() To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/common/lib/libc/arch/aarch64/atomic

2020-08-12 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Wed Aug 12 12:59:57 UTC 2020 Modified Files: src/common/lib/libc/arch/aarch64/atomic: atomic_cas_16.S atomic_cas_32.S atomic_cas_64.S atomic_cas_8.S atomic_dec_32.S atomic_dec_64.S atomic_inc_32.S

CVS commit: src/common/lib/libc/arch/mips/atomic

2020-08-01 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sat Aug 1 09:26:49 UTC 2020 Modified Files: src/common/lib/libc/arch/mips/atomic: atomic_add.S atomic_and.S atomic_cas.S atomic_cas_up.S atomic_dec.S atomic_inc.S atomic_op_asm.h atomic_or.S atomic_swap.S

CVS commit: src/common/lib/libc/arch/m68k/gen

2020-05-31 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun May 31 12:37:07 UTC 2020 Modified Files: src/common/lib/libc/arch/m68k/gen: muldi3.S Log Message: Fix typo in comment. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/common/lib/libc/arch/m68k/gen/muldi3.S

CVS commit: src/common/lib/libc/hash/sha3

2020-05-30 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat May 30 18:40:28 UTC 2020 Modified Files: src/common/lib/libc/hash/sha3: sha3.c Log Message: Merge updates from upstream to reduce stack usage of SHA3_Selftest. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/common/lib/libc/atomic

2020-05-15 Thread Martin Husemann
Module Name:src Committed By: martin Date: Fri May 15 15:20:40 UTC 2020 Modified Files: src/common/lib/libc/atomic: atomic_init_testset.c Log Message: PR 55239: initialize all RAS sections for non-MP configurations To generate a diff of this commit: cvs rdiff -u -r1.16

CVS commit: src/common/lib/libc/arch

2020-04-26 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Apr 26 13:59:44 UTC 2020 Modified Files: src/common/lib/libc/arch/i386/atomic: atomic.S src/common/lib/libc/arch/x86_64/atomic: atomic.S Log Message: Remove unused argument in macro. To generate a diff of this commit:

CVS commit: src/common/lib/libc/arch

2020-04-26 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Apr 26 13:54:03 UTC 2020 Modified Files: src/common/lib/libc/arch/i386/atomic: atomic.S src/common/lib/libc/arch/x86_64/atomic: atomic.S Log Message: Remove unused. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/common/lib/libc/arch/aarch64/string

2020-04-10 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Sat Apr 11 05:12:52 UTC 2020 Modified Files: src/common/lib/libc/arch/aarch64/string: bcopy.S memset.S Log Message: Fixed to not use the "br" instruction. Branch Target Identification (BTI) doesn't like "br". requested by maxv@

CVS commit: src/common/lib/libc/gen

2020-04-10 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Apr 11 01:46:47 UTC 2020 Modified Files: src/common/lib/libc/gen: radixtree.c Log Message: Match the naming convention in the file. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26

CVS commit: src/common/lib/libc/gen

2020-04-10 Thread Andrew Doran
Module Name:src Committed By: ad Date: Fri Apr 10 23:43:05 UTC 2020 Modified Files: src/common/lib/libc/gen: radixtree.c Log Message: PR kern/54979 (radixtree might misbehave if ENOMEM) - radix_tree_insert_node(): if the insert failed due to ENOMEM, roll back any

CVS commit: src/common/lib/libc/gen

2020-04-10 Thread Andrew Doran
Module Name:src Committed By: ad Date: Fri Apr 10 21:56:41 UTC 2020 Modified Files: src/common/lib/libc/gen: radixtree.c Log Message: Rename radix_tree_node_clean_p() to radix_tree_node_sum() and have it return the computed sum. Use to replace any_children_tagmask().

CVS commit: src/common/lib/libc/arch/m68k/string

2020-03-10 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Tue Mar 10 08:15:44 UTC 2020 Modified Files: src/common/lib/libc/arch/m68k/string: ffs.S Log Message: For kernel, rename ffs to __ffssi2 rather than having a weak symbol. This enables us to load modules depended to __ffssi2. It is

CVS commit: src/common/lib/libc/arch/m68k/string

2020-03-09 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Mar 9 13:36:10 UTC 2020 Modified Files: src/common/lib/libc/arch/m68k/string: ffs.S Log Message: Add missing END() for coldfire. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7

CVS commit: src/common/lib/libc/arch/arm/atomic

2020-03-09 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Mon Mar 9 11:21:54 UTC 2020 Modified Files: src/common/lib/libc/arch/arm/atomic: atomic_cas_up.S Log Message: Give the thumb atomic ops a chance of working To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8

CVS commit: src/common/lib/libc/arch/m68k/gen

2020-03-09 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Mar 9 08:29:12 UTC 2020 Modified Files: src/common/lib/libc/arch/m68k/gen: mulsi3.S Log Message: Remove wrong comment (copy-paste from somewhere); __mulsi3 does not depend on __udivsi3. To generate a diff of this commit: cvs

CVS commit: src/common/lib/libc/misc

2020-03-08 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Mar 8 21:35:03 UTC 2020 Modified Files: src/common/lib/libc/misc: ubsan.c Log Message: Add support for alignment_assumptions in uubsan Cherry-pick from FreeBSD: >From 7c1bc5ffc2fa68ddc76e5ea8a3a1a6fdfeee57f0 Mon Sep 17

CVS commit: src/common/lib/libc/stdlib

2020-02-22 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Sat Feb 22 14:47:29 UTC 2020 Modified Files: src/common/lib/libc/stdlib: random.c Log Message: common/lib/libc/stdlib: Fix possible signed integer overflow. common/lib/libc/stdlib/random.c:482:6 can result in signed integer

CVS commit: src/common/lib/libc/string

2020-01-29 Thread Andrew Doran
Module Name:src Committed By: ad Date: Wed Jan 29 09:18:26 UTC 2020 Modified Files: src/common/lib/libc/string: bcmp.c memcmp.c Log Message: Some boot blocks too big now, only compare in big chunks if !_STANDALONE. To generate a diff of this commit: cvs rdiff -u -r1.9

CVS commit: src/common/lib/libc/gen

2020-01-28 Thread Andrew Doran
Module Name:src Committed By: ad Date: Tue Jan 28 22:20:45 UTC 2020 Modified Files: src/common/lib/libc/gen: radixtree.c Log Message: gang_lookup_scan(): if a dense scan and the first sibling doesn't match, the scan is finished. To generate a diff of this commit: cvs

CVS commit: src/common/lib/libc/string

2020-01-27 Thread Andrew Doran
Module Name:src Committed By: ad Date: Mon Jan 27 22:22:03 UTC 2020 Modified Files: src/common/lib/libc/string: bcmp.c memcmp.c Log Message: Drop the alignment check if __NO_STRICT_ALIGNMENT (x86, m68k, vax). To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9

CVS commit: src/common/lib/libc/arch

2020-01-27 Thread Andrew Doran
Module Name:src Committed By: ad Date: Mon Jan 27 22:09:21 UTC 2020 Removed Files: src/common/lib/libc/arch/i386/string: memcmp.S src/common/lib/libc/arch/x86_64/string: bcmp.S memcmp.S Log Message: x86 uses the C versions of bcmp() and memcmp() now. To generate

CVS commit: src/common/lib/libc/string

2020-01-27 Thread Andrew Doran
Module Name:src Committed By: ad Date: Mon Jan 27 22:13:39 UTC 2020 Modified Files: src/common/lib/libc/string: bcmp.c memcmp.c Log Message: bcmp() / memcmp(): compare in uintptr_t sized chunks when it's easy to. To generate a diff of this commit: cvs rdiff -u -r1.7

CVS commit: src/common/lib/libc/arch/x86_64/string

2020-01-16 Thread Andrew Doran
Module Name:src Committed By: ad Date: Thu Jan 16 09:23:43 UTC 2020 Modified Files: src/common/lib/libc/arch/x86_64/string: memcmp.S Log Message: Back out previous, it's broken. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5

CVS commit: src/common/lib/libc/arch/x86_64/string

2020-01-15 Thread Andrew Doran
Module Name:src Committed By: ad Date: Wed Jan 15 10:56:49 UTC 2020 Modified Files: src/common/lib/libc/arch/x86_64/string: bcmp.S memcmp.S Log Message: Rewrite bcmp() & memcmp() to not use REP CMPS. Seems about 5-10x faster for small strings on modern hardware. To

CVS commit: src/common/lib/libc/gen

2020-01-12 Thread Lars Reichardt
Module Name:src Committed By: para Date: Sun Jan 12 20:00:41 UTC 2020 Modified Files: src/common/lib/libc/gen: radixtree.c Log Message: initialize radix_tree_node_cache with PR_LARGECACHE this increases the cache groups from 15 to 63 items in order to reduce traffic

CVS commit: src/common/lib/libc/gen

2019-12-05 Thread Andrew Doran
Module Name:src Committed By: ad Date: Thu Dec 5 19:03:39 UTC 2019 Modified Files: src/common/lib/libc/gen: radixtree.c Log Message: Fix warning that appears when compiling in kernel. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20

CVS commit: src/common/lib/libc/gen

2019-12-05 Thread Andrew Doran
Module Name:src Committed By: ad Date: Thu Dec 5 18:50:41 UTC 2019 Modified Files: src/common/lib/libc/gen: radixtree.c Log Message: Delete the counter from "struct radix_tree_node", and in the one place we need a non-zero check, substitute with a deterministic bitwise

CVS commit: src/common/lib/libc/gen

2019-05-09 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu May 9 10:56:24 UTC 2019 Modified Files: src/common/lib/libc/gen: rb.c Log Message: toolify PR/54182: Cross-building on Linux fails in rb.c To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15

CVS commit: src/common/lib/libc/arch/riscv/atomic

2019-04-17 Thread matthew green
Module Name:src Committed By: mrg Date: Wed Apr 17 07:40:35 UTC 2019 Modified Files: src/common/lib/libc/arch/riscv/atomic: Makefile.inc Log Message: add missing atomic_and_16_nv_cas.c atomic_and_8_nv_cas.c. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/common/lib/libc/arch/riscv/atomic

2019-04-17 Thread matthew green
Module Name:src Committed By: mrg Date: Wed Apr 17 07:35:38 UTC 2019 Modified Files: src/common/lib/libc/arch/riscv/atomic: atomic_cas_32.S Log Message: add missing aliases for _atomic_cas_32_ni and atomic_cas_uint_ni. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/common/lib/libc/string

2019-03-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sat Mar 30 10:18:03 UTC 2019 Modified Files: src/common/lib/libc/string: memset.c Log Message: Fix typo: __aebi_memset -> __aeabi_memset To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12

CVS commit: src/common/lib/libc/gen

2019-03-08 Thread Roy Marples
Module Name:src Committed By: roy Date: Fri Mar 8 09:14:54 UTC 2019 Modified Files: src/common/lib/libc/gen: rb.c Log Message: rbtree: Add a define to mark function arguments as unused for non debug This allows rbtree to be used outside of NetBSD without any compile

CVS commit: src/common/lib/libc/atomic

2019-03-01 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Fri Mar 1 09:57:32 UTC 2019 Modified Files: src/common/lib/libc/atomic: atomic_or_16_cas.c atomic_or_8_cas.c Log Message: Fix return value. or_and_fetch should return new value. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/common/lib/libc/atomic

2019-02-28 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Fri Mar 1 06:14:52 UTC 2019 Modified Files: src/common/lib/libc/atomic: atomic_nand_16_cas.c atomic_nand_32_cas.c atomic_nand_8_cas.c Log Message: Add missing alias for __atomic_fetch_nand_N. XXX I'm not sure why does

CVS commit: src/common/lib/libc/arch

2019-02-27 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Thu Feb 28 02:35:38 UTC 2019 Modified Files: src/common/lib/libc/arch/hppa/atomic: Makefile.inc src/common/lib/libc/arch/m68k/atomic: Makefile.inc src/common/lib/libc/arch/mips/atomic: Makefile.inc

CVS commit: src/common/lib/libc/arch/mips/atomic

2019-02-19 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Wed Feb 20 05:25:12 UTC 2019 Modified Files: src/common/lib/libc/arch/mips/atomic: atomic_cas.S Log Message: Export atomic_cas_32_ni in a similar manner to its 64-bit counterpart. Compile test only, but seems trivial enough for me.

CVS commit: src/common/lib/libc/arch/mips/atomic

2019-02-19 Thread Martin Husemann
Module Name:src Committed By: martin Date: Tue Feb 19 18:17:46 UTC 2019 Modified Files: src/common/lib/libc/arch/mips/atomic: atomic_cas.S Log Message: Add atomic_cas_64_ni alias To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5

CVS commit: src/common/lib/libc/arch/aarch64/atomic

2019-02-19 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Tue Feb 19 12:51:44 UTC 2019 Modified Files: src/common/lib/libc/arch/aarch64/atomic: atomic_cas_64.S Log Message: Sort STRONG_ALIAS's in the same manner as ATOMIC_OP_ALIAS's. No functional changes. To generate a diff of this

CVS commit: src/common/lib/libc/arch/aarch64/atomic

2019-02-19 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Tue Feb 19 12:47:36 UTC 2019 Modified Files: src/common/lib/libc/arch/aarch64/atomic: atomic_cas_64.S Log Message: Export _atomic_cas_64 as atomic_cas_64_ni. Note that _atomic_cas_64 is already exported as

CVS commit: src/common/lib/libc

2019-02-18 Thread Martin Husemann
Module Name:src Committed By: martin Date: Mon Feb 18 11:22:56 UTC 2019 Modified Files: src/common/lib/libc/arch/arm/atomic: atomic_cas_64.S src/common/lib/libc/atomic: atomic_init_testset.c Log Message: Add some atomic_cas_64_ni aliases To generate a diff of

CVS commit: src/common/lib/libc/arch/x86_64/atomic

2019-02-16 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sun Feb 17 07:34:44 UTC 2019 Modified Files: src/common/lib/libc/arch/x86_64/atomic: atomic.S Log Message: Add missing export of atomic_or_64 (since rev1.1). To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18

CVS commit: src/common/lib/libc/misc

2019-02-13 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Feb 13 17:17:02 UTC 2019 Modified Files: src/common/lib/libc/misc: ubsan.c Log Message: Fix kUBSan build with GCC7 Add missing __unreachable() and FALLTHROUGH keywords. Reported by To generate a diff of this commit: cvs

CVS commit: src/common/lib/libc/arch/aarch64/atomic

2019-02-07 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Fri Feb 8 06:56:56 UTC 2019 Modified Files: src/common/lib/libc/arch/aarch64/atomic: atomic_op_asm.h Log Message: - atomic_*_{8,16}_nv() must return a new value, not an old value. - use "dmb sy" for atomic_*{8,16}_nv() in the same

CVS commit: src/common/lib/libc/arch/aarch64/atomic

2019-02-05 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Wed Feb 6 05:33:14 UTC 2019 Modified Files: src/common/lib/libc/arch/aarch64/atomic: atomic_op_asm.h Log Message: fix atomic_sub_*(). it was (delta - *ptr), should be (*ptr - delta). changing shared macro doesn't effect other

CVS commit: src/common/lib/libc/misc

2019-02-04 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Feb 4 22:07:41 UTC 2019 Modified Files: src/common/lib/libc/misc: ubsan.c Log Message: - use __unreachable() and move 'break's around to increase consistency and correctness ok kamil@ To generate a diff of this commit: cvs

CVS commit: src/common/lib/libc/string

2018-10-15 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Oct 15 19:32:48 UTC 2018 Modified Files: src/common/lib/libc/string: memmem.c Log Message: use postincrement, like the patch XXX: pullup-8 To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/common/lib/libc/string

2018-10-15 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Oct 15 18:37:19 UTC 2018 Modified Files: src/common/lib/libc/string: memmem.c Log Message: Avoid out-of-bounds reads https://www.openwall.com/lists/musl/2017/06/29/6 XXX: pullup-8 To generate a diff of this commit: cvs

CVS commit: src/common/lib/libc/string

2018-08-16 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Aug 16 12:03:10 UTC 2018 Modified Files: src/common/lib/libc/string: strncasecmp.c Log Message: toolify. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/common/lib/libc/string/strncasecmp.c Please note

CVS commit: src/common/lib/libc/string

2018-08-11 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Aug 11 16:25:32 UTC 2018 Modified Files: src/common/lib/libc/string: strcasecmp.c Log Message: Add nbotool stuff. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/common/lib/libc/string/strcasecmp.c Please

CVS commit: src/common/lib/libc/misc

2018-08-03 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Aug 3 16:31:04 UTC 2018 Modified Files: src/common/lib/libc/misc: ubsan.c Log Message: Try to fix the evbppc-powerpc64 build Avoid "comparison between signed and unsigned integer expressions" on Big-Endian hosts. To

CVS commit: src/common/lib/libc

2018-08-02 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Aug 3 03:35:17 UTC 2018 Modified Files: src/common/lib/libc: Makefile.inc Log Message: Register a new directory in common/lib/libc/misc Registe misc/ with ubsan.c. To generate a diff of this commit: cvs rdiff -u -r1.17

CVS commit: src/common/lib/libc/misc

2018-08-02 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Aug 3 03:12:32 UTC 2018 Modified Files: src/common/lib/libc/misc: ubsan.c Log Message: Tidy up the comment in ubsan.c As noted, style has no impact on the comparison of a similar code. This version is a reimplementation from

CVS commit: src/common/lib/libc/misc

2018-08-02 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Aug 3 02:05:43 UTC 2018 Added Files: src/common/lib/libc/misc: ubsan.c Log Message: Import micro-UBSan (ubsan.c) This is a reimplementation of the Undefined Behavior Sanitizer with the following properties: - pure C

CVS commit: src/common/lib/libc/arch/aarch64/string

2018-08-01 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Wed Aug 1 17:09:26 UTC 2018 Modified Files: src/common/lib/libc/arch/aarch64/string: strlen.S Log Message: strnlen(s, (size_t)-1) returned -1. it must return the length of s. To generate a diff of this commit: cvs rdiff -u -r1.2

CVS commit: src/common/lib/libc/inet

2018-07-25 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Jul 26 00:20:41 UTC 2018 Modified Files: src/common/lib/libc/inet: inet_addr.c Log Message: Avoid undefined behavior in an inet_addr.c Do not change the signedness bit with a left shift operation. Cast to unsigned integer to

CVS commit: src/common/lib/libc/sys

2018-07-25 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Jul 26 00:13:19 UTC 2018 Modified Files: src/common/lib/libc/sys: cpuset.c Log Message: Avoid undefined behavior in an cpuset.c Do not change the signedness bit with a left shift operation. Switch to unsigned integer to

CVS commit: src/common/lib/libc/arch/i386/atomic

2018-07-18 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Wed Jul 18 13:39:36 UTC 2018 Modified Files: src/common/lib/libc/arch/i386/atomic: atomic.S Log Message: On Xen, always alias _atomic_cas_64 to _atomic_cas_cx8. AFAIK Xen doesn't support CPUs that don't support cx8. i386

CVS commit: src/common/lib/libc/arch/aarch64/string

2018-07-09 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Mon Jul 9 06:07:06 UTC 2018 Modified Files: src/common/lib/libc/arch/aarch64/string: memcmp.S Log Message: avoid reading from out of range that may cause access fault. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/common/lib/libc/string

2018-07-08 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Jul 8 17:53:13 UTC 2018 Added Files: src/common/lib/libc/string: memmem.c Log Message: switch to FreeBSD's memmem (faster) To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 src/common/lib/libc/string/memmem.c

CVS commit: src/common/lib/libc/string

2018-02-12 Thread Martin Husemann
Module Name:src Committed By: martin Date: Mon Feb 12 11:14:15 UTC 2018 Modified Files: src/common/lib/libc/string: bcopy.c Log Message: Complete previous by complteley removing the _DIAGASSERT from memmove - the accidental left over from previous fired on all legitimate

CVS commit: src/common/lib/libc/string

2018-02-06 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Feb 6 09:28:48 UTC 2018 Modified Files: src/common/lib/libc/string: memset.c strlen.c Log Message: - remove two more _DIAGASSERT() checks against not NULL for functions with arguments with nonnull attributes. in two cases,

CVS commit: src/common/lib/libc/arch/aarch64/string

2018-02-04 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Feb 4 21:52:17 UTC 2018 Modified Files: src/common/lib/libc/arch/aarch64/string: memcmp.S memcpy.S Added Files: src/common/lib/libc/arch/aarch64/string: bcopy.S memmove.S Log Message: Working / new versions from Ryo

CVS commit: src/common/lib/libc/arch/aarch64/string

2017-08-29 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Tue Aug 29 15:00:23 UTC 2017 Modified Files: src/common/lib/libc/arch/aarch64/string: memset.S Log Message: * aarch64/memset.S didn't work! fixed some bugs. * maximum size of DCZID_EL0:BS (2048) supported. To generate a diff of

CVS commit: src/common/lib/libc/arch/aarch64/string

2017-08-22 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Tue Aug 22 06:45:08 UTC 2017 Modified Files: src/common/lib/libc/arch/aarch64/string: strlen.S Log Message: aarch64/strlen.S didn't work. fixed some bugs. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

  1   2   3   4   5   6   >