diff options
Diffstat (limited to 'include/linux/memcontrol.h')
-rw-r--r-- | include/linux/memcontrol.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/memcontrol.h b/include/linux/memcontrol.h index 1f3d880b7ca1..dbb6118370c1 100644 --- a/include/linux/memcontrol.h +++ b/include/linux/memcontrol.h | |||
@@ -566,7 +566,10 @@ struct mem_cgroup *lock_page_memcg(struct page *page); | |||
566 | void __unlock_page_memcg(struct mem_cgroup *memcg); | 566 | void __unlock_page_memcg(struct mem_cgroup *memcg); |
567 | void unlock_page_memcg(struct page *page); | 567 | void unlock_page_memcg(struct page *page); |
568 | 568 | ||
569 | /* idx can be of type enum memcg_stat_item or node_stat_item */ | 569 | /* |
570 | * idx can be of type enum memcg_stat_item or node_stat_item. | ||
571 | * Keep in sync with memcg_exact_page_state(). | ||
572 | */ | ||
570 | static inline unsigned long memcg_page_state(struct mem_cgroup *memcg, | 573 | static inline unsigned long memcg_page_state(struct mem_cgroup *memcg, |
571 | int idx) | 574 | int idx) |
572 | { | 575 | { |