freebsd-dev/sys/dev/virtio
Pedro F. Giffuni ac2fffa4b7 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
2018-01-21 15:42:36 +00:00
..
balloon sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
block sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
console Revert r327828, r327949, r327953, r328016-r328026, r328041: 2018-01-21 15:42:36 +00:00
mmio Revert r327828, r327949, r327953, r328016-r328026, r328041: 2018-01-21 15:42:36 +00:00
network Revert r327828, r327949, r327953, r328016-r328026, r328041: 2018-01-21 15:42:36 +00:00
pci Revert r327828, r327949, r327953, r328016-r328026, r328041: 2018-01-21 15:42:36 +00:00
random sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
scsi sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
virtio_bus_if.m
virtio_config.h
virtio_ids.h Sync VirtIO IDs with Linux 2018-01-14 06:03:40 +00:00
virtio_if.m
virtio_ring.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-20 19:36:21 +00:00
virtio.c Sync VirtIO IDs with Linux 2018-01-14 06:03:40 +00:00
virtio.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-20 19:36:21 +00:00
virtqueue.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
virtqueue.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00