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

From: Horms <horms_at_verge.net.au>
Date: 2006-06-20 19:09:19
In article <20060620062252.GB18805@cse.unsw.EDU.AU> you wrote:
> 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.

Well, I was thinking in terms of a second patch.

I'd be happy to look over (or upport) a fresh version of your
patch, but I will be up front and say that my understanding of
pte vs pmd, pud and pgd is weak. That said, I for one think
your patch did make things easier to understand, and probably
easier to update.

-- 
Horms                                           http://www.vergenet.net/~horms/

-
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 19:09:53 2006

This archive was generated by hypermail 2.1.8 : 2006-06-20 19:10:04 EST