Re: [PATCH] mm: make free_bootmem to loop bdata_list

From: Yinghai Lu
Date: Thu Mar 13 2008 - 15:11:17 EST


On Thu, Mar 13, 2008 at 12:05 PM, Andrew Morton
<akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> On Thu, 13 Mar 2008 11:53:31 -0700
> "Yinghai Lu" <yhlu.kernel@xxxxxxxxx> wrote:
>
> > [PATCH] mm: make free_bootmem to loop bdata_list
> >
> > [PATCH] mm: fix boundary checking in free_bootmem_core
> >
> > make the free_bootmem_core could handle out of range case. we could use
> > bdata_list to make sure the range can be freed for sure.
> >
> > so next time, we don't need to loop online nodes and could use
> > free_bootmem directly.
> >
> > Signed-off-by: Yinghai Lu <yhlu.kernel@xxxxxxxxx>
> >
>
> What is the relationship (if any) between this and
> mm-fix-boundary-checking-in-free_bootmem_core.patch?
after mm-fix-boundary-checking-in-free_bootmem_core.patch, or you can
fold this into that.
>
> Do you believe ths new patch is needed in 2.6.25 and if so, why?

could solve some free_bootmem in extreme case like no ram on node 0.

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