PTE entries

Benjamin Herrenschmidt benh at kernel.crashing.org
Thu May 3 08:12:46 EST 2007


On Wed, 2007-05-02 at 12:58 -0700, Siva Prasad wrote:
> Hi Ben,
> 
> First, 
> Are there any other places where we have self modifying code in Linux
> kernel, other than in arch/powerpc/mm/ppc_mmu_32.c:MMU_init_hw()
> (basically modified create_hpte and flush_hash_page)

There is the cpu feature fixup code, there might also be something
around the SMP code.

> Second,
> Instead of using addis, why can't we move it from SDR1 register and mask
> the second half. SDR1 has the required value. Right?
> May be I am missing something here.

Would be slower. Accessing SPRs is slow.




More information about the Linuxppc-embedded mailing list