Re: CONFIG_HIGHPTE vs. sub-page page tables.
From: Martin Schwidefsky
Date: Sat Feb 09 2008 - 05:56:27 EST
On Sat, 2008-02-09 at 11:37 +0100, Ingo Molnar wrote:
> i think the worst is over already and i'm reasonably sure that there are
> no more bugs in it - this _is_ a 1:1 patch after all, so in theory the
> worst side-effect should be build breakages due to include file
> spaghetti. The window for this particular breakage was just 256 commits,
> that's OK i think.
Except for the breakage of all nommu architectures .. they need the
pgtable_t as well due to the pte_fn_t type.
> If you want less stress next time around you might want to consider
> pushing such patches via individual architectures, so that it can all be
> shaken out (and such build bugs are found quickly) and pushed via the
> architecture trees. (Even such a patch that changes the number of
> cross-arch function arguments and introduces a new type can be
> architectured in a way to make it per arch.)
I'll try that with the __pte_free_tlb macro to inline conversion patch.
This one is really driving me nuts, the dependencies of the macros in
asm/pgalloc, asm/tlb.h and asm-generic/tlb.h for the different archs are
pure evil.
--
blue skies,
Martin.
"Reality continues to ruin my life." - Calvin.
--
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/