In wolfSSL release 4.7, the Linux kernel module implementation has been enhanced to use kvmalloc()
and kvfree()
for heap-based storage. The typical approach using kmalloc()
allocates physically contiguous memory, with meaningful limitations on the maximum size of allocation and the impact of those allocations on other system components. kvmalloc()
, by contrast, uses vmalloc()
internally to make non-contiguous use of memory for large allocations, which is more efficient and less contentious. The wolfSSL kernel module now leverages this capability when targeted to Linux kernel 4.12 or newer, relaxing potential resource constraints and minimizing the likelihood of interference in the kernel.
If you have any questions or run into any issues, contact us at facts@wolfssl.com, or call us at +1 425 245 8247.