projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm: sl[au]b: add knowledge of PFMEMALLOC reserve pages
[cascardo/linux.git]
/
mm
/
internal.h
diff --git
a/mm/internal.h
b/mm/internal.h
index
3314f79
..
eb76b67
100644
(file)
--- a/
mm/internal.h
+++ b/
mm/internal.h
@@
-279,6
+279,9
@@
static inline struct page *mem_map_next(struct page *iter,
#define __paginginit __init
#endif
+/* Returns true if the gfp_mask allows use of ALLOC_NO_WATERMARK */
+bool gfp_pfmemalloc_allowed(gfp_t gfp_mask);
+
/* Memory initialisation debug and verification */
enum mminit_level {
MMINIT_WARNING,