Page MenuHomeFreeBSD

cuse(3): Remove PAGE_SIZE from libcuse.
ClosedPublic

Authored by hselasky on Jun 23 2022, 8:36 PM.

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
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; 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
161

should we call getpagesize only once before the loop?

lib/libcuse/cuse_lib.c
161

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
This revision was automatically updated to reflect the committed changes.