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)
Sat, Sep 12, 3:30 AM
Unknown Object (File)
Fri, Sep 11, 12:19 AM
Unknown Object (File)
Mon, Sep 7, 12:03 AM
Unknown Object (File)
Sun, Sep 6, 12:40 PM
Unknown Object (File)
Sat, Sep 5, 12:55 AM
Unknown Object (File)
Fri, Sep 4, 7:07 PM
Unknown Object (File)
Fri, Aug 28, 2:56 AM
Unknown Object (File)
Wed, Aug 26, 3:56 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)?