lkml.org 
[lkml]   [2010]   [May]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 07/22] lmb: Add lmb_to_bootmem()
    On 05/09/2010 08:13 PM, Benjamin Herrenschmidt wrote:
    > On Sat, 2010-05-08 at 08:17 -0700, Yinghai Lu wrote:
    >> lmb_to_bootmem() will reserve lmb.reserved.region in bootmem after bootmem is
    >> set up.
    >>
    >> We can use it to with all arches that support lmb later.
    >
    > This is clumsy. Doesn't work with NUMA either. Also,

    it works NUMA. for x86 we managed to call that one time from 2.6.34-rc1. (still called early_res_to_bootmem().
    http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=1842f90cc98625d4d9bf8f8b927f17705ceb4e9c

    > reserve_bootmem_generic() only exists on x86 afaik.

    previous patch add weak version
    [PATCH 06/22] bootmem, x86: Add weak version of reserve_bootmem_generic

    YH


    \
     
     \ /
      Last update: 2010-05-10 06:37    [W:0.034 / U:31.996 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site