[Devel] [PATCH rh7] mm: zap page->{slab_ubs,kmem_ub}
Vladimir Davydov
vdavydov at parallels.com
Thu May 21 04:17:56 PDT 2015
This is a leftover from UBC kmem accounting, which is now handled by
memcg.
Signed-off-by: Vladimir Davydov <vdavydov at parallels.com>
---
include/linux/mm_types.h | 12 ------------
1 file changed, 12 deletions(-)
diff --git a/include/linux/mm_types.h b/include/linux/mm_types.h
index 5ddfa80f05a5..fd501aea6d0b 100644
--- a/include/linux/mm_types.h
+++ b/include/linux/mm_types.h
@@ -187,12 +187,6 @@ struct page {
#ifdef LAST_CPUPID_NOT_IN_PAGE_FLAGS
int _last_cpupid;
#endif
- union {
-#ifdef CONFIG_BEANCOUNTERS
- struct user_beancounter *kmem_ub;
- struct user_beancounter **slub_ubs;
-#endif
- };
}
/*
* The struct page can be forced to be double word aligned so that atomic ops
@@ -212,12 +206,6 @@ struct page_frag {
__u16 offset;
__u16 size;
#endif
- union {
-#ifdef CONFIG_BEANCOUNTERS
- struct user_beancounter *kmem_ub;
- struct user_beancounter **slub_ubs;
-#endif
- };
};
typedef unsigned long __nocast vm_flags_t;
--
1.7.10.4
More information about the Devel
mailing list