diff options
author | Bjoern A. Zeeb <bz@FreeBSD.org> | 2025-03-29 14:30:26 +0000 |
---|---|---|
committer | Bjoern A. Zeeb <bz@FreeBSD.org> | 2025-04-01 14:40:25 +0000 |
commit | 19efc9e6320a30e230b0b40d5bae90142ec13aeb (patch) | |
tree | bb9c966892bf2d3d73706e97e2ca300f381ceaa2 /sys/nfsserver/(public-mirror) | |
parent | a12a9c6c59764b876f06355f9f857e0018188d91 (diff) |
LinuxKPi: lkpi___kmalloc change a < into <= for proper boundry check
lkpi___kmalloc() would use contigmalloc if the requested size is exactly
PAGE_SIZE. But we can still fullfill this request from malloc() without
losing the guarantee of physical contiguous memory.
Sponsored by: The FreeBSD Foundation
Reported by: emaste (in D46656)
Fixes: 19df0c5abcb9d
MFC after: 3 days
Reviewed by: dumbbell, emaste
Differential Revision: https://reviews.freebsd.org/D49570
Diffstat (limited to 'sys/nfsserver/(public-mirror)')
0 files changed, 0 insertions, 0 deletions