[RFC] hugetlb: Allow update_mmu_cache to handle hugetlb pages

Benjamin Herrenschmidt benh at kernel.crashing.org
Thu Oct 20 08:10:01 EST 2005


On Wed, 2005-10-19 at 14:46 -0500, Adam Litke wrote:
> Hugetlb demand faulting is now in -mm and copy-on-write support will be
> coming soon.  When updating huge ptes, we'll need to call
> update_mmu_cache() which currently can't handle huge pages.  This patch
> fixes the problem.  Is this acceptable? or is there a more elegant way
> to solve this?

Well, that piece of code is beeing shuffled around with the powerpc
merge and the 64k pages patch so I'd rather not apply this patch as-is,
but I can do the preload for huge pages on top of those. I'll have a
look with David.

Ben





More information about the Linuxppc64-dev mailing list