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)
Fri, Mar 22, 10:34 PM
Unknown Object (File)
Fri, Mar 22, 10:34 PM
Unknown Object (File)
Fri, Mar 22, 10:34 PM
Unknown Object (File)
Mar 8 2024, 7:10 AM
Unknown Object (File)
Feb 10 2024, 1:40 PM
Unknown Object (File)
Jan 6 2024, 12:54 PM
Unknown Object (File)
Jan 6 2024, 12:53 PM
Unknown Object (File)
Jan 6 2024, 12:53 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