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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In article <20060620062252.GB18805@xxxxxxxxxxxxxxx> 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/

-
: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Sparc Linux]     [DCCP]     [Linux ARM]     [Yosemite News]     [Linux SCSI]     [Linux x86_64]     [Linux for Ham Radio]

  Powered by Linux