Re: Hugetlb demanding paging for -mm tree

From: William Lee Irwin III
Date: Mon Aug 09 2004 - 14:09:54 EST


Chen, Kenneth W <mailto:kenneth.w.chen@xxxxxxxxx> wrote on Monday,
>> I suppose this is fixable in update_mmu_cache() where it can check the
>> type of pte and do appropriate sizing and other things. ia64 would
>> have
>> to check the address instead of looking at the pte.

On Mon, Aug 09, 2004 at 11:43:32AM -0700, Seth, Rohit wrote:
> Why do we need update_mmu_cache for hugepages?

As things stand in mainline, it's not an obvious issue. Ken appears to
be calling it for hugetlb in the ZFOD fault handling patches, which
have the issue that it may behave badly in several respects when acting
on large pages. The cache coherency bits in update_mmu_fault() are
necessary in general, but mainline omits them. It should only result in
intermittent failures on machines with sufficiently incoherent caches.


-- wli
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/