Re: [PATCH] anobjrmap 1/6 objrmap

From: William Lee Irwin III
Date: Wed Mar 24 2004 - 15:04:07 EST


On Wed, Mar 24, 2004 at 06:08:41PM +0100, Andrea Arcangeli wrote:
> nitpick, it's not PAE but highmem that makes it worse (even with PAE off).

Please give me a little more credit than that. This is largely over,
but when assessing it, do note:

#if defined(CONFIG_HIGHPTE) && defined(CONFIG_HIGHMEM4G)
typedef u32 pte_addr_t;
#endif

#if defined(CONFIG_HIGHPTE) && defined(CONFIG_HIGHMEM64G)
typedef u64 pte_addr_t;
#endif

#if !defined(CONFIG_HIGHPTE)
typedef pte_t *pte_addr_t;
#endif

Yes, I also realized that in principle, one could have only used
PG_direct if the pagetable fell into the lower 32GB or stuffed the 33rd
bit into PG_arch and so on and so forth wrt. the 33rd bit.

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