Page MenuHomeFreeBSD

cuse(3): Remove PAGE_SIZE from libcuse.
ClosedPublic

Authored by hselasky on Jun 23 2022, 8:36 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Sep 21, 2:51 PM
Unknown Object (File)
Mon, Sep 2, 4:40 AM
Unknown Object (File)
Aug 22 2024, 6:50 PM
Unknown Object (File)
Aug 20 2024, 10:48 PM
Unknown Object (File)
Aug 20 2024, 10:48 PM
Unknown Object (File)
Aug 20 2024, 10:48 PM
Unknown Object (File)
Aug 20 2024, 9:09 PM
Unknown Object (File)
Aug 18 2024, 11:03 PM
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