HomeFreeBSD

linuxkpi: Add `gfp_mask` field to `struct shrink_control`

Description

linuxkpi: Add gfp_mask field to struct shrink_control

bz@ asked if the KBI breakage is a concern here. My answer was that this
is the first time in the DRM drivers in Linux 5.13 (the version I'm
working on) that this structure is initialized (as a variable local to
the function in this case), so it shouldn't be a problem for the DRM
drivers.

However, I can't speak for other drivers maintained outside of the src
tree.

Reviewed by: emaste, manu
Approved by: emaste, manu
Differential Revision: https://reviews.freebsd.org/D37913

(cherry picked from commit 3aa335d00ac860565d106eb47e931206641cd653)

Details

Provenance
dumbbellAuthored on Dec 30 2022, 9:56 AM
Reviewer
emaste
Differential Revision
D37913: linuxkpi: Add `gfp_mask` field to `struct shrink_control`
Parents
rGae653e3a3dab: linuxkpi: Define `GFP_NOFS` in `linux/gfp.h`
Branches
Unknown
Tags
Unknown