[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] remove __pte_offset



"Martin J. Bligh" <mbligh@aracnet.com> wrote:
>
> >> ptes this time
> > 
> > Isn't pte_to_pfn a better name?  index doesn't have a type of data 
> > implied, whereas pfn does.  We have to make these distinctions clearer 
> > as work like William's PAGE_SIZE is being done.
> 
> For pte_index? Surely they're completely separate things?

Yes, they are.  A pfn is a fairly distinct thing with "meaning".

> pte_index returns a virtual address offset into the pte, and

pte index into the pagetable page <thwap>

> pte_to_pfn returns a physical address?

pageframe number.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org">aart@kvack.org</a>