Re: [PATCH] 2.5.12: remove VALID_PAGE

From: Linus Torvalds (
Date: Thu May 02 2002 - 18:50:41 EST

On Thu, 2 May 2002, Roman Zippel wrote:
> Ok, here is a new patch and it does indeed generate better code. :)
> virt_to_valid_page() also became virt_addr_valid().

You're going to hate me, but I'm going to ask you to do one more thing:
make "mk_pte_phys()" go away, and replace it with "pfn_pte(pfn,prot)".
Because logically it _is_ the reverse of "pte_pfn()", and that also means
that the HIGHMEM stuff on x86 would get cleaned up (we can generate
highmem pages without having a 64-bit physical address, we just have the
same old 32-bit PFN).

Pretty please?


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Tue May 07 2002 - 22:00:17 EST