>> +static inline size_t memcg_size(void) >> +{ >> + return sizeof(struct mem_cgroup) + >> + nr_node_ids * sizeof(struct mem_cgroup_per_node); >> +} >> + > > Tangential question: why use inline here? I figure that modern > compilers are good at making inlining decisions. I was born last century. No reason, really. Just habit. -- To unsubscribe from this list: send the line "unsubscribe cgroups" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html