linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* linux/powerpc memory management
@ 2008-07-10  4:14 sumedh tirodkar
  2008-07-10 15:08 ` Scott Wood
  0 siblings, 1 reply; 4+ messages in thread
From: sumedh tirodkar @ 2008-07-10  4:14 UTC (permalink / raw)
  To: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 109 bytes --]

Can anyone give pointers as to how memory management(detailed) is done in
linux on powerpc.

Regards,
Sumedh

[-- Attachment #2: Type: text/html, Size: 122 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: linux/powerpc memory management
  2008-07-10  4:14 linux/powerpc memory management sumedh tirodkar
@ 2008-07-10 15:08 ` Scott Wood
  2008-07-10 17:06   ` sumedh tirodkar
  0 siblings, 1 reply; 4+ messages in thread
From: Scott Wood @ 2008-07-10 15:08 UTC (permalink / raw)
  To: sumedh tirodkar; +Cc: linuxppc-embedded

sumedh tirodkar wrote:
> Can anyone give pointers as to how memory management(detailed) is done 
> in linux on powerpc.

arch/powerpc/mm

(Hey, you wanted a detailed answer to a very broad question...)

-Scott

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: linux/powerpc memory management
  2008-07-10 15:08 ` Scott Wood
@ 2008-07-10 17:06   ` sumedh tirodkar
  2008-07-10 17:25     ` Arnd Bergmann
  0 siblings, 1 reply; 4+ messages in thread
From: sumedh tirodkar @ 2008-07-10 17:06 UTC (permalink / raw)
  To: Scott Wood, linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 577 bytes --]

by pointers i meant any documentation of design as to how exactly the memory
management is done...
how does linux use hardware features provided by powerpc for protection
between tasks and kernel,etc...
sorry for not being more specific previously...

Regards,
Sumedh.

On Thu, Jul 10, 2008 at 8:38 PM, Scott Wood <scottwood@freescale.com> wrote:

> sumedh tirodkar wrote:
>
>> Can anyone give pointers as to how memory management(detailed) is done in
>> linux on powerpc.
>>
>
> arch/powerpc/mm
>
> (Hey, you wanted a detailed answer to a very broad question...)
>
> -Scott
>

[-- Attachment #2: Type: text/html, Size: 1038 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: linux/powerpc memory management
  2008-07-10 17:06   ` sumedh tirodkar
@ 2008-07-10 17:25     ` Arnd Bergmann
  0 siblings, 0 replies; 4+ messages in thread
From: Arnd Bergmann @ 2008-07-10 17:25 UTC (permalink / raw)
  To: linuxppc-embedded; +Cc: Scott Wood, sumedh tirodkar

On Thursday 10 July 2008, sumedh tirodkar wrote:
> by pointers i meant any documentation of design as to how exactly the memory
> management is done...
> how does linux use hardware features provided by powerpc for protection
> between tasks and kernel,etc...
> sorry for not being more specific previously...
> 

It depends on what platform you want to look at, powerpc64, powerpc32 classic
and powerpc32 book E are very different, but you'll see that in the code.

arch/powerpc/mm/hash*
arch/powerpc/mm/pgtable*
arch/powerpc/mm/mem.c
arch/powerpc/mm/ppc_mmu_32.c
arch/powerpc/mm/slb*
arch/powerpc/mm/stab.c
arch/powerpc/mm/tlb*
include/asm-powerpc/mmu*
include/asm-powerpc/pgalloc*
include/asm-powerpc/pgtable*

That should cover all you need to know.

	Arnd <><

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-07-10 17:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-10  4:14 linux/powerpc memory management sumedh tirodkar
2008-07-10 15:08 ` Scott Wood
2008-07-10 17:06   ` sumedh tirodkar
2008-07-10 17:25     ` Arnd Bergmann

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).