X-Git-Url: http://git.samba.org/samba.git/?a=blobdiff_plain;f=include%2Flinux%2Fmemcontrol.h;h=dbb6118370c1e3c6df88b7da5695aea57dcd08ad;hb=8f76216c80c299ab8074b8658b73faa3815c6f39;hp=1f3d880b7ca1736057546bc0b98997b6b8a65aea;hpb=dcacc4864f03e138a8b757ce75142b602d7f4389;p=sfrench%2Fcifs-2.6.git 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); void __unlock_page_memcg(struct mem_cgroup *memcg); void unlock_page_memcg(struct page *page); -/* idx can be of type enum memcg_stat_item or node_stat_item */ +/* + * idx can be of type enum memcg_stat_item or node_stat_item. + * Keep in sync with memcg_exact_page_state(). + */ static inline unsigned long memcg_page_state(struct mem_cgroup *memcg, int idx) {