Page MenuHomeFreeBSD

linuxkpi: Move `release_pages()` to linux_page.c
ClosedPublic

Authored by dumbbell on Apr 13 2025, 11:27 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 10, 9:40 PM
Unknown Object (File)
Sat, Sep 27, 9:44 AM
Unknown Object (File)
Sat, Sep 20, 7:41 PM
Unknown Object (File)
Fri, Sep 19, 8:50 AM
Unknown Object (File)
Sep 15 2025, 6:25 PM
Unknown Object (File)
Sep 14 2025, 1:25 AM
Unknown Object (File)
Sep 13 2025, 8:29 PM
Unknown Object (File)
Sep 13 2025, 7:23 AM
Subscribers

Details

Summary

We want to avoid putting code managing memory in inline functions in the future.

This is part of the update of DRM drivers to Linux 6.7. This is a follow-up to D48743.

Sponsored by: The FreeBSD Foundation

Diff Detail

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

Event Timeline

dumbbell added a reviewer: markj.
wulf added inline comments.
sys/compat/linuxkpi/common/src/linux_page.c
180

Please add lkpi_ or linuxkpi_ prefix with corresponding #define to not pollute namespace

Rename release_pages() to linux_release_pages() to address @wulf concern.

This revision is now accepted and ready to land.Apr 15 2025, 1:38 PM