Re: [PATCH 7/8] mm: reinstate ZERO_PAGE

From: Linus Torvalds
Date: Tue Sep 08 2009 - 10:14:58 EST




On Tue, 8 Sep 2009, Nick Piggin wrote:
>
> Without looking closely, why is it a big problem to have a
> !HAVE PTE SPECIAL case? Couldn't it just be a check for
> pfn == zero_pfn that is conditionally compiled away for pte
> special architectures anyway?

At least traditionally, there wasn't a single zero_pfn, but multiple (for
VIPT caches that have performance issues with aliases). But yeah, we could
check just the pfn number, and allow any architecture to do it.

Linus
--
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/