Re: [PATCHv5 00/11] CONFIG_DEBUG_VIRTUAL for arm64

2016-12-13 Thread Mark Rutland
On Tue, Dec 06, 2016 at 03:50:46PM -0800, Laura Abbott wrote: > Hi, > > This is v5 of the series to add CONFIG_DEBUG_VIRTUAL for arm64. This mostly > contains minor fixups including adding a few extra headers around and > splitting > things out into a few more sub-patches. > > With a few more

Re: [PATCH 1/2] kexec: add a dummy note for each offline cpu

2016-12-13 Thread Baoquan He
On 12/14/16 at 02:11pm, Pingfan Liu wrote: > kexec-tools always allocates program headers for each possible cpu. This > incurs zero PT_NOTE for offline cpu. We mark this case so that later, > the capture kernel can distinguish it from the mistake of allocated > program header. > The counterpart of

Re: [PATCH 1/2] kexec: add a dummy note for each offline cpu

2016-12-13 Thread Liu ping fan
On Wed, Dec 14, 2016 at 2:11 PM, Pingfan Liu wrote: > kexec-tools always allocates program headers for each possible cpu. This The code is in the file:kexec-tools/kexec/crashdump-elf.c nr_cpus = sysconf(_SC_NPROCESSORS_CONF); > incurs zero PT_NOTE for offline cpu. We

[PATCH 1/2] kexec: add a dummy note for each offline cpu

2016-12-13 Thread Pingfan Liu
kexec-tools always allocates program headers for each possible cpu. This incurs zero PT_NOTE for offline cpu. We mark this case so that later, the capture kernel can distinguish it from the mistake of allocated program header. The counterpart of the capture kernel comes in next patch.

[PATCH 2/2] [fs] proc/vmcore: check the dummy place holder for offline cpu to avoid warning

2016-12-13 Thread Pingfan Liu
kexec-tools always allocates program headers for possible cpus. But when crashing, offline cpus have dummy headers. We do not copy these dummy notes into ELF file, also have no need of warning on them. Signed-off-by: Pingfan Liu --- fs/proc/vmcore.c | 21 +

Re: [PATCH] Add +~800M crashkernel explaination

2016-12-13 Thread Xunlei Pang
On 12/14/2016 at 11:08 AM, Xunlei Pang wrote: > On 12/10/2016 at 01:20 PM, Robert LeBlanc wrote: >> On Fri, Dec 9, 2016 at 7:49 PM, Baoquan He wrote: >>> On 12/09/16 at 05:22pm, Robert LeBlanc wrote: When trying to configure crashkernel greater than about 800 MB, the

Re: [PATCH] Add +~800M crashkernel explaination

2016-12-13 Thread Xunlei Pang
On 12/10/2016 at 01:20 PM, Robert LeBlanc wrote: > On Fri, Dec 9, 2016 at 7:49 PM, Baoquan He wrote: >> On 12/09/16 at 05:22pm, Robert LeBlanc wrote: >>> When trying to configure crashkernel greater than about 800 MB, the >>> kernel fails to allocate memory on x86 and x86_64.