lkml.org 
[lkml]   [2010]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 03/35] lmb: Add ARCH_DISCARD_LMB to put lmb code to .init
On 05/14/2010 01:10 AM, Benjamin Herrenschmidt wrote:
> On Thu, 2010-05-13 at 23:21 -0700, Yinghai wrote:
>
>>> So you do not intend to use lmb after boot ? This will break the
>>>
>> debugfs
>>
>>> files unless you also remove those.
>>>
>> no, x86 don't lmb after boot.
>>
>> yes
>>
> So you need some kind of CONFIG option to keep lmb after boot, at least
> the data structures, for debugfs, or when not set, disable the debugfs
> files.
>
>
Just disable the debugfs for lmb if ARCH_DISCARD_LMB is defined in arch
lmb.h

Thanks

Yinghai Lu


\
 
 \ /
  Last update: 2010-05-14 18:23    [W:0.116 / U:3.224 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site