lkml.org 
[lkml]   [2012]   [Dec]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v7 06/27] x86, 64bit: early #PF handler set page table
On 12/18/2012 12:43 PM, Yinghai Lu wrote:
> On Mon, Dec 17, 2012 at 11:15 PM, Yinghai Lu <yinghai@kernel.org> wrote:
>> -v8: we need to keep that handler alive until init_mem_mapping and don't
>> let early_trap_init to trash that early #PF handler.
>> So split early_trap_pf_init out and move it down. - Yinghai
>
> Peter,
>
> looks like moving down early_trap_init would break kgdb.
>
> we could make temporary early pgt cover 1G, and kernel and stop updating later.
>
> please check attached patch.
>
> init_mem_mapping need to be change a little: map BRK at first then switch pgt.
>
> Thanks
>
> Yinghai
>

That is putting the cart before the horse. What is the specific
requirement with kgdb here (I didn't see any email on that, please don't
have private back conversations)? Either way, however, kgdb is a tool
to debug the kernel... having it a barrier for proper functionality of
the kernel is not acceptable.

-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.



\
 
 \ /
  Last update: 2012-12-18 22:01    [W:1.055 / U:0.484 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site