Re: Questions on one PowerPC assembly instruction from hash_page

2007-06-18 Thread gshan
Mikael Pettersson wrote: On Mon, 18 Jun 2007 16:33:22 +0800, gshan <[EMAIL PROTECTED]> wrote: I can't understand the following instructions from arch/ppc/mm/hashtable.S::hash_page. If I got the right design, the following instruction is to get the PMD (Page Middle Descritor) because Linux

Re: Questions on one PowerPC assembly instruction from hash_page

2007-06-18 Thread Mikael Pettersson
On Mon, 18 Jun 2007 16:33:22 +0800, gshan <[EMAIL PROTECTED]> wrote: > I can't understand the following instructions from > arch/ppc/mm/hashtable.S::hash_page. If I got the right design, the > following instruction is to get the PMD (Page Middle Descritor) because > Linux for 32-bits PowerPC

Questions on one PowerPC assembly instruction from hash_page

2007-06-18 Thread gshan
Hey Guys, I can't understand the following instructions from arch/ppc/mm/hashtable.S::hash_page. If I got the right design, the following instruction is to get the PMD (Page Middle Descritor) because Linux for 32-bits PowerPC cut page table into 3 domains: root, PMD, PTE. The top bits (22 to

Questions on one PowerPC assembly instruction from hash_page

2007-06-18 Thread gshan
Hey Guys, I can't understand the following instructions from arch/ppc/mm/hashtable.S::hash_page. If I got the right design, the following instruction is to get the PMD (Page Middle Descritor) because Linux for 32-bits PowerPC cut page table into 3 domains: root, PMD, PTE. The top bits (22 to

Re: Questions on one PowerPC assembly instruction from hash_page

2007-06-18 Thread Mikael Pettersson
On Mon, 18 Jun 2007 16:33:22 +0800, gshan [EMAIL PROTECTED] wrote: I can't understand the following instructions from arch/ppc/mm/hashtable.S::hash_page. If I got the right design, the following instruction is to get the PMD (Page Middle Descritor) because Linux for 32-bits PowerPC cut page

Re: Questions on one PowerPC assembly instruction from hash_page

2007-06-18 Thread gshan
Mikael Pettersson wrote: On Mon, 18 Jun 2007 16:33:22 +0800, gshan [EMAIL PROTECTED] wrote: I can't understand the following instructions from arch/ppc/mm/hashtable.S::hash_page. If I got the right design, the following instruction is to get the PMD (Page Middle Descritor) because Linux