With mallocarray() we cannot guarantee that any size larger than
PAGE_SIZE will be contiguous. Switch to use the internal __kmalloc()
implementation which now does provide that guarantee.
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
Differential D46657
LinuxKPI: switch mallocarray to an lpi implementation using __kmalloc() bz on Thu, Sep 12, 6:27 PM. Authored by Tags None Referenced Files
Details
Diff Detail
Event TimelineComment Actions Also change the (internal) mallocarray() calls in linux_compat.c to lkpi_mallocarray() |