From: Michael Ellerman on
On Sun, 2010-03-28 at 19:43 -0700, Yinghai Lu wrote:
> So those lmb bits could released after kernel is booted up.
>
> Arch code could define __NOT_KEEP_LMB in asm/lmb.h, __init_lmb will become __init

ARCH_KEEP_LMB or ARCH_DISCARD_LMB, or something like that, would be more
in keeping with existing flags like this.

cheers

From: Yinghai Lu on
On 03/29/2010 05:07 AM, Michael Ellerman wrote:
> On Sun, 2010-03-28 at 19:43 -0700, Yinghai Lu wrote:
>> So those lmb bits could released after kernel is booted up.
>>
>> Arch code could define __NOT_KEEP_LMB in asm/lmb.h, __init_lmb will become __init
>
> ARCH_KEEP_LMB or ARCH_DISCARD_LMB, or something like that, would be more
> in keeping with existing flags like this.
>

ok, will use ARCH_DISCARD_LMB.

BTW, it seems only PowerPC need to keep lmb after init stage, right ?

Thanks

Yinghai
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: David Miller on
From: Yinghai Lu <yinghai(a)kernel.org>
Date: Mon, 29 Mar 2010 09:20:28 -0700

> BTW, it seems only PowerPC need to keep lmb after init stage, right ?

For now. Sparc64 will need it at some point in the future.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Yinghai Lu on
On 03/29/2010 11:34 AM, David Miller wrote:
> From: Yinghai Lu <yinghai(a)kernel.org>
> Date: Mon, 29 Mar 2010 09:20:28 -0700
>
>> BTW, it seems only PowerPC need to keep lmb after init stage, right ?
>
> For now. Sparc64 will need it at some point in the future.

for memory hotplug support?

Yinghai
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: David Miller on
From: Yinghai Lu <yinghai(a)kernel.org>
Date: Mon, 29 Mar 2010 11:39:52 -0700

> On 03/29/2010 11:34 AM, David Miller wrote:
>> From: Yinghai Lu <yinghai(a)kernel.org>
>> Date: Mon, 29 Mar 2010 09:20:28 -0700
>>
>>> BTW, it seems only PowerPC need to keep lmb after init stage, right ?
>>
>> For now. Sparc64 will need it at some point in the future.
>
> for memory hotplug support?

Yes.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/