Thread (36 messages) 36 messages, 3 authors, 2012-02-07
STALE5233d

[PATCH 2/7] Add various hugetlb page table fix

From: catalin.marinas@arm.com (Catalin Marinas)
Date: 2012-02-06 16:26:56

On Wed, Feb 01, 2012 at 03:10:21AM +0000, bill4carson wrote:
Why L_PTE_HUGEPAGE is needed?

hugetlb subsystem will call pte_page to derive the corresponding page 
struct from a given pte, and pte_pfn is used first to convert pte into
a page frame number.
Are you sure the pte_pfn() conversion is right? Does it need to be
different from the 4K pfn? I haven't seen any other architecture doing
shifts other than PAGE_SHIFT even for huge pages.

-- 
Catalin
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help