git: 252dea8f39de - stable/13 - linuxkpi: Add `__GFP_NOMEMALLOC` kmalloc flag
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 24 Jan 2023 08:53:52 UTC
The branch stable/13 has been updated by manu:
URL: https://cgit.FreeBSD.org/src/commit/?id=252dea8f39de86110007d618ac514ebfe51b904f
commit 252dea8f39de86110007d618ac514ebfe51b904f
Author: Jean-Sébastien Pédron <dumbbell@FreeBSD.org>
AuthorDate: 2022-11-11 17:30:31 +0000
Commit: Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2023-01-24 09:08:00 +0000
linuxkpi: Add `__GFP_NOMEMALLOC` kmalloc flag
Reviewed by: manu
Approved by: manu
Differential Revision: https://reviews.freebsd.org/D36954
(cherry picked from commit bfe6bfd79e05041f0b3ca2ca2f18405f5c4a6484)
---
sys/compat/linuxkpi/common/include/linux/gfp.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/sys/compat/linuxkpi/common/include/linux/gfp.h b/sys/compat/linuxkpi/common/include/linux/gfp.h
index 7657e78b0950..a2930b44b0c4 100644
--- a/sys/compat/linuxkpi/common/include/linux/gfp.h
+++ b/sys/compat/linuxkpi/common/include/linux/gfp.h
@@ -47,6 +47,7 @@
#define __GFP_HIGHMEM 0
#define __GFP_ZERO M_ZERO
#define __GFP_NORETRY 0
+#define __GFP_NOMEMALLOC 0
#define __GFP_RECLAIM 0
#define __GFP_RECLAIMABLE 0
#define __GFP_RETRY_MAYFAIL 0