Page MenuHomeFreeBSD

LinuxKPi: lkpi___kmalloc change a < into <= for proper boundry check
ClosedPublic

Authored by bz on Sat, Mar 29, 6:29 PM.
Tags
None
Referenced Files
F115684289: D49570.id152988.diff
Sun, Apr 27, 2:44 AM
Unknown Object (File)
Mon, Apr 14, 11:13 AM
Unknown Object (File)
Sun, Apr 13, 12:17 AM
Unknown Object (File)
Tue, Apr 8, 4:14 PM
Unknown Object (File)
Mon, Apr 7, 11:25 AM
Unknown Object (File)
Mon, Apr 7, 11:25 AM
Unknown Object (File)
Mon, Apr 7, 1:07 AM
Unknown Object (File)
Thu, Apr 3, 4:27 PM
Subscribers

Details

Summary

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

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable