On Thu, 22 May 2008 15:22:24 +0900 Daisuke Nishimura <nishimura@xxxxxxxxxxxxxxxxx> wrote: > + mem = p->memcg[swp_offset(entry)]; > + usage = swap_cgroup_read_usage(mem) / PAGE_SIZE; > + limit = swap_cgroup_read_limit(mem) / PAGE_SIZE; > + limit = (limit < total_swap_pages) ? limit : total_swap_pages; mem can be NULL here. Thanks, -Kame _______________________________________________ Containers mailing list Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/containers