Why
They are used by the DRM drivers in Linux 6.7.
This is part of the update of DRM drivers to Linux 6.7.
Sponsored by: The FreeBSD Foundation
Differential D48747
linuxkpi: Add `shrinker_alloc()` and `shrinker_free()` dumbbell on Jan 31 2025, 2:14 PM. Authored by Tags None Referenced Files
Details
Why They are used by the DRM drivers in Linux 6.7. This is part of the update of DRM drivers to Linux 6.7. Sponsored by: The FreeBSD Foundation
Diff Detail
Event TimelineComment Actions Seems fine to me for as much as I can say. Beware that it breaks KBI if struct shrinker is embedded into drivers.
Comment Actions At least drm-kmod 6.1-lts struct i915_gem_mm seems to embed struct shrinker. So moving fields will need this recompiled most likely (ttm pool most likely too, though there you could get away with adding the flags field to the end of the structure). I suppose at least bump __FreeBSD_version and document it docs. Not sure how drm-kmod ports are handled in these cases if they need to be recompiled. Are you planning to MFC this? |