lkml.org 
[lkml]   [2008]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][patch 2/5] mm: Node-setup agnostic free_bootmem()

* Yinghai Lu <yhlu.kernel@gmail.com> 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


\
 
 \ /
  Last update: 2008-04-16 20:51    [W:0.048 / U:0.380 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site