artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ee4899
)
change __GFP_KSWAPD_RECLAIM from 0 to M_NOWAIT
author
jsg
<jsg@openbsd.org>
Sun, 30 Jul 2023 12:16:20 +0000
(12:16 +0000)
committer
jsg
<jsg@openbsd.org>
Sun, 30 Jul 2023 12:16:20 +0000
(12:16 +0000)
aja@ reported a panic where __i915_gpu_coredump() used a combination of
gfp flags which resulted in neither M_WAITOK or M_NOWAIT.
sys/dev/pci/drm/include/linux/gfp.h
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/include/linux/gfp.h
b/sys/dev/pci/drm/include/linux/gfp.h
index
008e548
..
7733a0b
100644
(file)
--- 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