Page MenuHomeFreeBSD

D56587.id176221.diff
No OneTemporary

D56587.id176221.diff

diff --git a/sys/compat/linuxkpi/common/include/linux/gfp.h b/sys/compat/linuxkpi/common/include/linux/gfp.h
--- a/sys/compat/linuxkpi/common/include/linux/gfp.h
+++ b/sys/compat/linuxkpi/common/include/linux/gfp.h
@@ -55,6 +55,7 @@
#define __GFP_IO 0
#define __GFP_NO_KSWAPD 0
#define __GFP_KSWAPD_RECLAIM 0
+#define __GFP_ACCOUNT 0
#define __GFP_WAIT M_WAITOK
#define __GFP_DMA32 (1U << 24) /* LinuxKPI only */
#define __GFP_NORETRY (1U << 25) /* LinuxKPI only */
@@ -66,6 +67,7 @@
#define GFP_NOWAIT M_NOWAIT
#define GFP_ATOMIC (M_NOWAIT | M_USE_RESERVE)
#define GFP_KERNEL M_WAITOK
+#define GFP_KERNEL_ACCOUNT (GFP_KERNEL | __GFP_ACCOUNT)
#define GFP_USER M_WAITOK
#define GFP_HIGHUSER M_WAITOK
#define GFP_HIGHUSER_MOVABLE M_WAITOK

File Metadata

Mime Type
text/plain
Expires
Sun, Aug 23, 5:15 AM (13 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37120729
Default Alt Text
D56587.id176221.diff (750 B)

Event Timeline