* Where are logical memory block regions setup?
@ 2010-07-27 2:52 Rick Ramstetter
2010-07-27 9:28 ` Benjamin Herrenschmidt
0 siblings, 1 reply; 2+ messages in thread
From: Rick Ramstetter @ 2010-07-27 2:52 UTC (permalink / raw)
To: linuxppc-dev
[-- Attachment #1: Type: text/plain, Size: 287 bytes --]
Hi all,
Where can I find the code that sets values in lmb.reserved.region[i]?
This is in reference to 2.6.27's arch/powerpc/mm/mem.c and
include/linux/lmb.h
I'm looking specifically for code that sets lmb_region's region.size and
region.base.
Thank you,
-Rick
--
J. Rick Ramstetter
[-- Attachment #2: Type: text/html, Size: 352 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Where are logical memory block regions setup?
2010-07-27 2:52 Where are logical memory block regions setup? Rick Ramstetter
@ 2010-07-27 9:28 ` Benjamin Herrenschmidt
0 siblings, 0 replies; 2+ messages in thread
From: Benjamin Herrenschmidt @ 2010-07-27 9:28 UTC (permalink / raw)
To: Rick Ramstetter; +Cc: linuxppc-dev
On Mon, 2010-07-26 at 22:52 -0400, Rick Ramstetter wrote:
> Hi all,
>
> Where can I find the code that sets values in lmb.reserved.region[i]?
> This is in reference to 2.6.27's arch/powerpc/mm/mem.c and
> include/linux/lmb.h
>
> I'm looking specifically for code that sets lmb_region's region.size
> and region.base.
They come from the reserve map in the device-tree, plus possible
additional calls to lmb_reserve. Do a grep -r lmb_reserve arch/powerpc
and you should find it all.
Cheers,
Ben.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-07-27 9:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-27 2:52 Where are logical memory block regions setup? Rick Ramstetter
2010-07-27 9:28 ` Benjamin Herrenschmidt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).