freebsd-skq/sys/x86
Pedro F. Giffuni 74641f0bc6 x86: make some use of mallocarray(9).
Focus on code where we are doing multiplications within malloc(9). None of
these ire likely to overflow, however the change is still useful as some
static checkers can benefit from the allocation attributes we use for
mallocarray.

This initial sweep only covers malloc(9) calls with M_NOWAIT. No good
reason but I started doing the changes before r327796 and at that time it
was convenient to make sure the sorrounding code could handle NULL values.

X-Differential revision: https://reviews.freebsd.org/D13837
2018-01-15 21:08:22 +00:00
..
acpica Move VM_NUMA_ALLOC and DEVICE_NUMA under the single global config option NUMA. 2018-01-14 03:36:03 +00:00
bios sys/x86: further adoption of SPDX licensing ID tags. 2017-11-27 15:11:47 +00:00
cpufreq x86: make some use of mallocarray(9). 2018-01-15 21:08:22 +00:00
include Enumerate and print Intel CPU features for Speculative Execution Side 2018-01-14 12:36:23 +00:00
iommu Add support for NUMA domains to bus dma tags. This causes all memory 2018-01-12 23:34:16 +00:00
isa Convert the x86 RTC driver to use new validated BCD<->timespec conversions. 2018-01-15 16:40:43 +00:00
pci sys/x86: further adoption of SPDX licensing ID tags. 2017-11-27 15:11:47 +00:00
x86 Enumerate and print Intel CPU features for Speculative Execution Side 2018-01-14 12:36:23 +00:00
xen sys/x86: further adoption of SPDX licensing ID tags. 2017-11-27 15:11:47 +00:00