Page MenuHomeFreeBSD

param.h: Add PAGE_SIZE_MAX and PAGE_SHIFT_MAX
Needs ReviewPublic

Authored by andrew on Thu, May 2, 4:38 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, May 4, 6:11 PM
Unknown Object (File)
Fri, May 3, 5:39 AM
Unknown Object (File)
Fri, May 3, 5:39 AM
Unknown Object (File)
Thu, May 2, 11:28 PM

Details

Reviewers
manu
Summary

These are intended to hold the largest page size the architecture
supports.

Sponsored by: Arm Ltd

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 57548
Build 54436: arc lint + arc unit

Event Timeline

andrew requested review of this revision.Thu, May 2, 4:38 PM
gallatin added inline comments.
sys/arm64/include/param.h
101

I thought 64K was mostly theoretical. Eg, we cannot actually boot a 64k kernel, while 16k works just fine with a few minor fixes.

sys/arm64/include/param.h
101

This creates an ABI that userspace will use in jemalloc. If we add a 64k kernel later then we would have to bump this and wouldn't be able to run old binaries.

sys/arm64/include/param.h
101

What is the cost of having this be 64K vs 16K (if we never implemented a 64K kernel)?