Page MenuHomeFreeBSD

vm: Retire kmem_arena
ClosedPublic

Authored by alc on Jul 22 2024, 12:23 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 2, 12:26 AM
Unknown Object (File)
Fri, Nov 1, 7:57 PM
Unknown Object (File)
Fri, Nov 1, 7:57 PM
Unknown Object (File)
Fri, Nov 1, 7:57 PM
Unknown Object (File)
Fri, Nov 1, 7:37 PM
Unknown Object (File)
Oct 4 2024, 11:36 AM
Unknown Object (File)
Oct 3 2024, 10:03 AM
Unknown Object (File)
Oct 3 2024, 1:40 AM
Subscribers

Details

Summary

It has simply been an alias for the kernel_arena for many years now.
Enough time has passed to retire it.

Diff Detail

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

Event Timeline

alc requested review of this revision.Jul 22 2024, 12:23 AM

Out-of-tree code can make the same change, no need for a __FreeBSD_version bump I think. stable/11 is the last branch where kmem_arena is a distinct entity.

This revision is now accepted and ready to land.Jul 22 2024, 12:49 AM

Out-of-tree code can make the same change, no need for a __FreeBSD_version bump I think. stable/11 is the last branch where kmem_arena is a distinct entity.

I checked drm-515-kmod, drm-61-kmod, and virtualbox-ose-kmod. They don't appear to have any direct references to kmem_arena.

In D46057#1050007, @alc wrote:

Out-of-tree code can make the same change, no need for a __FreeBSD_version bump I think. stable/11 is the last branch where kmem_arena is a distinct entity.

I checked drm-515-kmod, drm-61-kmod, and virtualbox-ose-kmod. They don't appear to have any direct references to kmem_arena.

I suspect the nvidia driver could, but I did not checked.

In D46057#1050008, @kib wrote:
In D46057#1050007, @alc wrote:

Out-of-tree code can make the same change, no need for a __FreeBSD_version bump I think. stable/11 is the last branch where kmem_arena is a distinct entity.

I checked drm-515-kmod, drm-61-kmod, and virtualbox-ose-kmod. They don't appear to have any direct references to kmem_arena.

I suspect the nvidia driver could, but I did not checked.

I just grep'ed nvidia-drm-61-kmod for it, and didn't find it.

This revision was automatically updated to reflect the committed changes.