Page MenuHomeFreeBSD

param.h: Add PAGE_SIZE_MAX and PAGE_SHIFT_MAX
Needs ReviewPublic

Authored by andrew on May 2 2024, 4:38 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 1, 5:38 PM
Unknown Object (File)
Oct 8 2024, 11:58 AM
Unknown Object (File)
Sep 30 2024, 10:59 PM
Unknown Object (File)
Sep 13 2024, 5:19 AM
Unknown Object (File)
Sep 7 2024, 5:05 PM
Unknown Object (File)
Sep 3 2024, 5:33 AM
Unknown Object (File)
Aug 6 2024, 4:34 PM
Unknown Object (File)
Jul 19 2024, 10:35 AM

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.May 2 2024, 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)?