RE: [Makedumpfile PATCH V2 2/4] x86_64: translate all VA to PA using page table values

2016-12-08 Thread Atsushi Kumagai
Hello Pratyush, >--- > arch/x86_64.c | 42 -- > makedumpfile.h | 4 ++-- > 2 files changed, 10 insertions(+), 36 deletions(-) > >diff --git a/arch/x86_64.c b/arch/x86_64.c >index eba725e41aac..9afa38fd141a 100644 >--- a/arch/x86_64.c >+++ b/arch/x86_64.c

Re: [PATCH v2] kexec: add cond_resched into kimage_alloc_crash_control_pages

2016-12-08 Thread Xunlei Pang
On 12/09/2016 at 01:13 PM, zhong jiang wrote: > On 2016/12/8 17:41, Xunlei Pang wrote: >> On 12/08/2016 at 10:37 AM, zhongjiang wrote: >>> From: zhong jiang >>> >>> A soft lookup will occur when I run trinity in syscall kexec_load. >>> the corresponding stack information is

Re: [PATCH v2] kexec: add cond_resched into kimage_alloc_crash_control_pages

2016-12-08 Thread zhong jiang
On 2016/12/9 13:19, Eric W. Biederman wrote: > zhong jiang writes: > >> On 2016/12/8 17:41, Xunlei Pang wrote: >>> On 12/08/2016 at 10:37 AM, zhongjiang wrote: From: zhong jiang > [snip] diff --git a/kernel/kexec_core.c

Re: [PATCH v2] kexec: add cond_resched into kimage_alloc_crash_control_pages

2016-12-08 Thread Eric W. Biederman
zhong jiang writes: > On 2016/12/8 17:41, Xunlei Pang wrote: >> On 12/08/2016 at 10:37 AM, zhongjiang wrote: >>> From: zhong jiang >>> [snip] >>> diff --git a/kernel/kexec_core.c b/kernel/kexec_core.c >>> index 5616755..bfc9621 100644 >>> ---

Re: [PATCH v2] kexec: add cond_resched into kimage_alloc_crash_control_pages

2016-12-08 Thread zhong jiang
On 2016/12/8 17:41, Xunlei Pang wrote: > On 12/08/2016 at 10:37 AM, zhongjiang wrote: >> From: zhong jiang >> >> A soft lookup will occur when I run trinity in syscall kexec_load. >> the corresponding stack information is as follows. >> >> [ 237.235937] BUG: soft lockup -

Re: [PATCH] kexec-tools/x86: get_kernel_vaddr_and_size off-by-one fix

2016-12-08 Thread Simon Horman
On Thu, Dec 08, 2016 at 10:52:22AM +0800, Dave Young wrote: > I got below error while tesing kexec -p: > "Can't find kernel text map area from kcore" > > The case is the pt_load start addr was same as stext_sym. The checking > code should really be saddr <= stext_sym so that the right pt_load

Re: [PATCH v2] kexec: add cond_resched into kimage_alloc_crash_control_pages

2016-12-08 Thread Xunlei Pang
On 12/08/2016 at 10:37 AM, zhongjiang wrote: > From: zhong jiang > > A soft lookup will occur when I run trinity in syscall kexec_load. > the corresponding stack information is as follows. > > [ 237.235937] BUG: soft lockup - CPU#6 stuck for 22s! [trinity-c6:13859] > [