Page MenuHomeFreeBSD

mbuf: Don't support PAGE_SIZE < 4K
ClosedPublic

Authored by brooks on Aug 23 2022, 9:15 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Aug 10, 11:09 AM
Unknown Object (File)
Mon, Aug 10, 9:38 AM
Unknown Object (File)
Mon, Aug 10, 9:38 AM
Unknown Object (File)
Mon, Aug 10, 7:17 AM
Unknown Object (File)
Sun, Aug 9, 12:53 PM
Unknown Object (File)
Fri, Aug 7, 5:13 PM
Unknown Object (File)
Tue, Aug 4, 6:10 AM
Unknown Object (File)
Tue, Aug 4, 1:57 AM
Subscribers

Details

Summary

The Vax supported such things, but FreeBSD does not. This further
implies that MJUMPAGESIZE > MCLBYTES so assert this and remove code
handling them being equal.

Sponsored by: DARPA, AFRL

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 47097
Build 43984: arc lint + arc unit

Event Timeline

jhb added inline comments.
sys/kern/kern_mbuf.c
67
This revision is now accepted and ready to land.Aug 23 2022, 10:01 PM
  • Assert wording tweak from jhb
This revision now requires review to proceed.Aug 23 2022, 10:12 PM

tl;dr: 4k pages are the smallest among traditional BSD hardware (except VAX, which used a 4k logical page size).

This revision is now accepted and ready to land.Aug 23 2022, 10:52 PM
This revision was automatically updated to reflect the committed changes.