linuxkpi: Add `gfp_mask` field to `struct shrink_control`
authorJean-Sébastien Pédron <dumbbell@FreeBSD.org>
Fri, 30 Dec 2022 09:56:46 +0000 (10:56 +0100)
committerJean-Sébastien Pédron <dumbbell@FreeBSD.org>
Mon, 16 Jan 2023 18:11:58 +0000 (19:11 +0100)
commit3aa335d00ac860565d106eb47e931206641cd653
tree183ea82023ac009562510eefc6b00b4ac83a2da1
parentc0c1c599c0ca7e8a15509503991f8cd97c292bea
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
sys/compat/linuxkpi/common/include/linux/shrinker.h