bonding: disallow setting nested bonding + ipsec offload
[platform/kernel/linux-starfive.git] / mm / slab.h
index f2c32f2..7b60ef2 100644 (file)
--- a/mm/slab.h
+++ b/mm/slab.h
@@ -298,7 +298,6 @@ static inline void memcg_slab_post_alloc_hook(struct kmem_cache *s,
        if (!memcg_kmem_enabled() || !objcg)
                return;
 
-       flags &= ~__GFP_ACCOUNT;
        for (i = 0; i < size; i++) {
                if (likely(p[i])) {
                        page = virt_to_head_page(p[i]);