On Tue, Aug 24, 2010 at 6:42 PM, KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> wrote: > > Hmm, but placing css and subsystem's its own structure in different cache line > can increase cacheline/TLB miss, I think. My patch shouldn't affect the memory placement of any structures. struct cgroup_subsys_state is still embedded in the per-subsystem state. > > Do we have to call alloc_css_id() in kernel/cgroup.c ? I guess not, if no-one's using it except for memcg. The general approach of allocating the CSS in cgroup.c rather than in every subsystem is something that I'd like to do separately, though. Paul -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxxx For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>