Re: [patch] m68k, mm: set all online nodes in N_NORMAL_MEMORY

From: Thorsten Glaser
Date: Tue Apr 26 2011 - 06:51:55 EST


Michael Schmitz dixit:

> be done unconditionally since information about present memory has not
> yet
> been recorded.
> If N_NORMAL_MEMORY is not accurate, slub may encounter
> errors since it

Hrmâ

> @@ -300,6 +300,8 @@ void __init paging_init(void)
> zones_size[ZONE_DMA] = m68k_memory[i].size >> PAGE_SHIFT;
> free_area_init_node(i, zones_size,
> m68k_memory[i].addr >> PAGE_SHIFT, NULL);
> + if (node_present_pages(i))
> + node_set_state(i, N_NORMAL_MEMORY);
> }
> }

No, this has whitespace problems (tabs are expanded to spaces).

bye,
//mirabilos
--
13:47â<tobiasu> if i were omnipotent, i would divide by zero
all day long ;)
(thinking about http://lobacevski.tumblr.com/post/3260866481 by waga)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/