Re: [PATCH 1/2] ia64,kexec: refactor some mmu-related marcors to allow them to be reused by kexec

From: Ian Wienand <ianw_at_gelato.unsw.edu.au>
Date: 2006-06-20 16:22:52
On Tue, Jun 20, 2006 at 02:47:57PM +0900, Horms wrote:
> Sure, could you give me a quick heads-up on what I should do to make
> that happen.

Well, personally, I'd like to see the whole thing pulled out in
something like

http://www.gelato.unsw.edu.au/archives/linux-ia64/0511/15890.html

(ignore the bug I missed in ivt.S)

I guess it should be sufficient to just do something like

#ifdef CONFIG_PGTABLE_3
#define MAPPED_SPACE_BITS   (3*(PAGE_SHIFT - PTE_BITS) + PAGE_SHIFT)
#elif CONFIG_PGTABLE_4
#define MAPPED_SPACE_BITS   (4*(PAGE_SHIFT - PTE_BITS) + PAGE_SHIFT)
#endif

(but then VMALLOC_END is still "wrong", you still can't easily change
the PTE size...)

This is really tangential to your change however, so probably doesn't
belong in the same changeset.  Maybe I could revive that old patch if
anyone has any comments.

-i
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Tue Jun 20 16:23:36 2006

This archive was generated by hypermail 2.1.8 : 2006-06-20 16:23:57 EST