freebsd-nq/sys/netinet/libalias
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
..
alias_cuseeme.c sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
alias_db.c sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
alias_dummy.c sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
alias_ftp.c sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
alias_irc.c sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
alias_local.h sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
alias_mod.c sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
alias_mod.h malloc: try to use builtins for zeroing at the callsite 2018-06-02 22:20:09 +00:00
alias_nbt.c sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
alias_pptp.c
alias_proxy.c sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
alias_sctp.c libalias: small memory allocation cleanups. 2018-01-12 23:12:30 +00:00
alias_sctp.h sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
alias_skinny.c sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
alias_smedia.c sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
alias_util.c sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
alias.c sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
alias.h sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
HISTORY
libalias.3