HomeFreeBSD

Revert r327828, r327949, r327953, r328016-r328026, r328041:

Description

Revert r327828, r327949, r327953, r328016-r328026, r328041:
Uses of mallocarray(9).

The use of mallocarray(9) has rocketed the required swap to build FreeBSD.
This is likely caused by the allocation size attributes which put extra pressure
on the compiler.

Given that most of these checks are superfluous we have to choose better
where to use mallocarray(9). We still have more uses of mallocarray(9) but
hopefully this is enough to bring swap usage to a reasonable level.

Reported by: wosch
PR: 225197

Details

Provenance
pfgAuthored on
Parents
rS328217: zfs: no need to check that size of zfs_cmd_t is not greater than IOCPARM_MAX
Branches
Unknown
Tags
Unknown