Re: pte_page

2001-05-31 Thread mdaljeet
cc: Daljeet Maini/India/IBM@IBMIN, | | [EMAIL PROTECTED] | | Subject: Re: pte_page| >| On Wed, 30 May 2001, Pete Wyckoff wrote: > > __pa(page_ad

Re: pte_page

2001-05-30 Thread Ingo Molnar
On Wed, 30 May 2001, Pete Wyckoff wrote: > > __pa(page_address(pte_page(pte))) is the address you want. [or > > pte_val(*pte) & (PAGE_SIZE-1) on x86 but this is platform-dependent.] > > Does this work on x86 non-kmapped highmem user pages too? (i.e. is > page->virtual valid for every potential

Re: pte_page

2001-05-30 Thread Pete Wyckoff
[EMAIL PROTECTED] said: > On Wed, 30 May 2001 [EMAIL PROTECTED] wrote: > > I use the 'pgt_offset', 'pmd_offset', 'pte_offset' and 'pte_page' > > inside a module to get the physical address of a user space virtual > > address. The physical address returned by 'pte_page' is not page > > aligned wher

Re: pte_page

2001-05-30 Thread Ingo Molnar
On Wed, 30 May 2001 [EMAIL PROTECTED] wrote: > I use the 'pgt_offset', 'pmd_offset', 'pte_offset' and 'pte_page' > inside a module to get the physical address of a user space virtual > address. The physical address returned by 'pte_page' is not page > aligned whereas the virtual address was page

Re: pte_page

2001-05-30 Thread Brian Gerst
Brian Gerst wrote: > > [EMAIL PROTECTED] wrote: > > > > I use the 'pgt_offset', 'pmd_offset', 'pte_offset' and 'pte_page' inside a > > module to get the physical address of a user space virtual address. The > > physical address returned by 'pte_page' is not page aligned whereas the > > virtual ad

Re: pte_page

2001-05-30 Thread Brian Gerst
[EMAIL PROTECTED] wrote: > > I use the 'pgt_offset', 'pmd_offset', 'pte_offset' and 'pte_page' inside a > module to get the physical address of a user space virtual address. The > physical address returned by 'pte_page' is not page aligned whereas the > virtual address was page aligned. Can someb