Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F167488674
D56587.id176221.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
750 B
Referenced Files
None
Subscribers
None
D56587.id176221.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D56587: linuxkpi: Define `GFP_KERNEL_ACCOUNT` flag
Attached
Detach File
Event Timeline
Log In to Comment