]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/linux/slab.h
Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus
[karo-tx-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 */