Subject: Re: linux/powerpc memory management

From: Arnd Bergmann <[email-masked]>
Date: Thu, 10 Jul 2008 19:25:08 +0200

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