regmap: merge regmap_update_bits_check() into macro
[deliverable/linux.git] / include / linux / slab.h
index 2037a861e3679910152a98ba98a667b395c6773c..3627d5c1bc470d7b655416e9a941cd2b4e378e03 100644 (file)
 #else
 # define SLAB_FAILSLAB         0x00000000UL
 #endif
+#if defined(CONFIG_MEMCG) && !defined(CONFIG_SLOB)
+# define SLAB_ACCOUNT          0x04000000UL    /* Account to memcg */
+#else
+# define SLAB_ACCOUNT          0x00000000UL
+#endif
 
 /* The following flags affect the page allocator grouping pages by mobility */
 #define SLAB_RECLAIM_ACCOUNT   0x00020000UL            /* Objects are reclaimable */
This page took 0.035171 seconds and 5 git commands to generate.