Messages in this thread | | | Date | Thu, 29 Nov 2007 12:42:07 +0900 | From | KAMEZAWA Hiroyuki <> | Subject | Re: [PATCH][for -mm] per-zone and reclaim enhancements for memory controller take 3 [3/10] per-zone active inactive counter |
| |
On Thu, 29 Nov 2007 12:33:28 +0900 (JST) yamamoto@valinux.co.jp (YAMAMOTO Takashi) wrote:
> > +static inline struct mem_cgroup_per_zone * > > +mem_cgroup_zoneinfo(struct mem_cgroup *mem, int nid, int zid) > > +{ > > + if (!mem->info.nodeinfo[nid]) > > can this be true? > > YAMAMOTO Takashi
When I set early_init=1, I added that check. BUG_ON() is better ?
Thanks, -Kame
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |