freebsd-src/sys/contrib
Mateusz Guzik 34c538c356 malloc: try to use builtins for zeroing at the callsite
Plenty of allocation sites pass M_ZERO and sizes which are small and known
at compilation time. Handling them internally in malloc loses this information
and results in avoidable calls to memset.

Instead, let the compiler take the advantage of it whenever possible.

Discussed with:	jeff
2018-06-02 22:20:09 +00:00
..
alpine-hal Update Annapurna Alpine HAL 2016-09-20 09:19:22 +00:00
ck Import CK as of commit 0f017230ccc86929f56bf44ef2dca93d7df8076b. 2018-05-24 21:38:18 +00:00
cloudabi Import the latest CloudABI definitions, v0.18. 2017-11-21 20:46:21 +00:00
dev [ath_hal] migrate the shared HAL_RESET_* pieces out into ath_hal. 2018-05-25 01:27:39 +00:00
edk2 Copy needed include files from EDK2. This is a minimal set gleened 2017-03-08 02:47:59 +00:00
ena-com Apply fixes in ena-com 2018-05-10 09:25:51 +00:00
ipfilter/netinet ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
libb2 MFV: libb2: use native calls for secure memory clearance 2018-03-27 14:55:01 +00:00
libfdt MFV r328490: Update libfdt to github:f1879e1 2018-01-27 21:25:45 +00:00
libnv Add SPDX tags for nv(9). 2018-01-27 12:58:21 +00:00
ncsw Rename a couple files to not conflict with ZFS filenames 2017-11-01 03:09:16 +00:00
ngatm Fix the following -Werror warning from clang 3.5.0, while building 2014-11-19 07:47:37 +00:00
octeon-sdk Use the correct board name for the Ubiquiti Unifi Security Gateway 2017-11-14 03:21:39 +00:00
rdma/krping Add support for setting type of service, TOS, for outgoing RDMA connections 2018-05-15 07:46:24 +00:00
v4l
vchiq/interface vchiq: Use mallocarray() to provide kcalloc() 2018-01-07 13:41:06 +00:00
x86emu Optimize ROL and ROR emulations and fix comments. 2016-02-18 23:03:37 +00:00
xz-embedded MFV r262756: 2014-03-05 01:33:15 +00:00
zstd malloc: try to use builtins for zeroing at the callsite 2018-06-02 22:20:09 +00:00