Page MenuHomeFreeBSD

cuse(3): Remove PAGE_SIZE from libcuse.
ClosedPublic

Authored by hselasky on Jun 23 2022, 8:36 PM.
Tags
None
Referenced Files
F153156882: D35585.id.diff
Sun, Apr 19, 12:45 PM
F153146696: D35585.id107329.diff
Sun, Apr 19, 11:36 AM
Unknown Object (File)
Sat, Apr 18, 6:28 AM
Unknown Object (File)
Thu, Apr 16, 6:21 AM
Unknown Object (File)
Sun, Apr 12, 9:44 PM
Unknown Object (File)
Thu, Apr 9, 6:55 AM
Unknown Object (File)
Sun, Mar 22, 11:22 AM
Unknown Object (File)
Mar 7 2026, 2:02 AM
Subscribers

Details

Summary

To allow for a dynamic page size on arm64 remove the static value from libcuse.

MFC after: 1 week
Sponsored by: NVIDIA Networking

Test Plan

Should be backwards compatible except for the removal of "CUSE_ALLOC_PAGES_MAX" which I believe is not used at all in user-space.

Diff Detail

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

Event Timeline

Don't remember who asked me about this, but here is the patch.

hselasky edited the test plan for this revision. (Show Details)
lib/libcuse/cuse_lib.c
162

should we call getpagesize only once before the loop?

lib/libcuse/cuse_lib.c
162

This is the exit of the loop. See return below.

This revision is now accepted and ready to land.Jun 24 2022, 3:22 PM