On Wed, Mar 5, 2008 at 4:33 PM, KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> wrote: > Is this kind of new entry in mem_cgroup not good ? > == > struct mem_cgroup { > ... > struct res_counter memory_limit. > struct res_counter swap_limit. > .. I agree with this - main memory and swap memory are rather different kinds of resources, with very different performance characteristics. It should be possible to control them completely independently (e.g. this job gets 100M of main memory, and doesn't swap at all). Paul _______________________________________________ Containers mailing list Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/containers