Re: [RFC][patch 2/5] mm: Node-setup agnostic free_bootmem()

From: Ingo Molnar
Date: Wed Apr 16 2008 - 14:48:58 EST



* Yinghai Lu <yhlu.kernel@xxxxxxxxx> wrote:

> > Yes, it should work well with cross nodes case.
> >
> > but please add boundary check on free_bootmem_node too.
>
> also please note: it will have problem span nodes box.
>
> for example: node 0: 0-2g, 4-6g, node1: 2-4g, 6-8g. and if ramdisk sit
> creoss 2G boundary. you will only free the range before 2g.

yes. Such systems _will_ become more common - so the "this is rare"
arguments are incorrect. bootmem has to be robust enough to deal with
it.

Ingo
--
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/