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
F151190574: D49810.id.diff
Mon, Apr 6, 5:28 PM
F151139918: D49810.id.diff
Mon, Apr 6, 8:55 AM
Unknown Object (File)
Sun, Apr 5, 1:02 PM
Unknown Object (File)
Sat, Apr 4, 2:10 PM
Unknown Object (File)
Sat, Mar 28, 11:54 AM
Unknown Object (File)
Thu, Mar 19, 9:52 PM
Unknown Object (File)
Tue, Mar 17, 4:28 PM
Unknown Object (File)
Tue, Mar 17, 4:21 PM
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