From: jsg Date: Sun, 30 Jul 2023 12:16:20 +0000 (+0000) Subject: change __GFP_KSWAPD_RECLAIM from 0 to M_NOWAIT X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=d0c03c4f4dd4c9ec89d97b5b100a843da4433784;p=openbsd change __GFP_KSWAPD_RECLAIM from 0 to M_NOWAIT aja@ reported a panic where __i915_gpu_coredump() used a combination of gfp flags which resulted in neither M_WAITOK or M_NOWAIT. --- diff --git a/sys/dev/pci/drm/include/linux/gfp.h b/sys/dev/pci/drm/include/linux/gfp.h index 008e5483f11..7733a0bca43 100644 --- a/sys/dev/pci/drm/include/linux/gfp.h +++ b/sys/dev/pci/drm/include/linux/gfp.h @@ -16,7 +16,7 @@ #define __GFP_RETRY_MAYFAIL 0 #define __GFP_MOVABLE 0 #define __GFP_COMP 0 -#define __GFP_KSWAPD_RECLAIM 0 +#define __GFP_KSWAPD_RECLAIM M_NOWAIT #define __GFP_HIGHMEM 0 #define __GFP_RECLAIMABLE 0 #define __GFP_NOMEMALLOC 0