Messages in this thread | | | Date | Tue, 18 Dec 2012 12:49:21 -0800 | From | "H. Peter Anvin" <> | Subject | Re: [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.
| |