mm: sl[au]b: add knowledge of PFMEMALLOC reserve pages
[platform/adaptation/renesas_rcar/renesas_kernel.git] / include / linux / mm_types.h
index 074eb98..375e79e 100644 (file)
@@ -54,6 +54,15 @@ struct page {
                union {
                        pgoff_t index;          /* Our offset within mapping. */
                        void *freelist;         /* slub/slob first free object */
+                       bool pfmemalloc;        /* If set by the page allocator,
+                                                * ALLOC_PFMEMALLOC was set
+                                                * and the low watermark was not
+                                                * met implying that the system
+                                                * is under some pressure. The
+                                                * caller should try ensure
+                                                * this page is only used to
+                                                * free other pages.
+                                                */
                };
 
                union {