Re: [PATCH] mm/sparse: reset section's mem_map when fully deactivated

2020-01-16 Thread Michal Hocko
On Thu 16-01-20 23:14:02, Dan Williams wrote: > On Thu, Jan 16, 2020 at 10:23 PM Pingfan Liu wrote: > > > > On Thu, Jan 16, 2020 at 3:50 PM Michal Hocko wrote: > > > > > > On Thu 16-01-20 11:01:08, Pingfan Liu wrote: > > > > When fully deactivated, it is meaningless to keep the value of a > > >

Re: [PATCH] mm/sparse: reset section's mem_map when fully deactivated

2020-01-16 Thread Dan Williams
On Thu, Jan 16, 2020 at 10:23 PM Pingfan Liu wrote: > > On Thu, Jan 16, 2020 at 3:50 PM Michal Hocko wrote: > > > > On Thu 16-01-20 11:01:08, Pingfan Liu wrote: > > > When fully deactivated, it is meaningless to keep the value of a section's > > > mem_map. And its mem_map will be reassigned

Re: [PATCH v4 2/2] arm64: kexec_file: add crash dump support

2020-01-16 Thread AKASHI Takahiro
On Thu, Jan 16, 2020 at 06:08:58PM +, Will Deacon wrote: > On Tue, Jan 14, 2020 at 02:38:26PM +0900, AKASHI Takahiro wrote: > > On Mon, Jan 13, 2020 at 11:21:06AM +, Will Deacon wrote: > > > On Fri, Jan 10, 2020 at 11:19:16AM -0500, Pavel Tatashin wrote: > > > > On Fri, Jan 10, 2020 at

Re: [PATCH] mm/sparse: reset section's mem_map when fully deactivated

2020-01-16 Thread Pingfan Liu
On Thu, Jan 16, 2020 at 3:50 PM Michal Hocko wrote: > > On Thu 16-01-20 11:01:08, Pingfan Liu wrote: > > When fully deactivated, it is meaningless to keep the value of a section's > > mem_map. And its mem_map will be reassigned during re-added. > > > > Beside this, it breaks the user space tool

Re: [PATCH] mm/sparse: reset section's mem_map when fully deactivated

2020-01-16 Thread Pingfan Liu
On Thu, Jan 16, 2020 at 4:25 PM Baoquan He wrote: > > On 01/16/20 at 09:14am, David Hildenbrand wrote: > > On 16.01.20 09:06, David Hildenbrand wrote: > > > On 16.01.20 04:01, Pingfan Liu wrote: > > >> When fully deactivated, it is meaningless to keep the value of a > > >> section's > > >>

Re: [PATCH] mm/sparse: reset section's mem_map when fully deactivated

2020-01-16 Thread Pingfan Liu
On Thu, Jan 16, 2020 at 4:06 PM David Hildenbrand wrote: > > On 16.01.20 04:01, Pingfan Liu wrote: > > When fully deactivated, it is meaningless to keep the value of a section's > > mem_map. And its mem_map will be reassigned during re-added. > > > > Beside this, it breaks the user space tool

Re: [PATCH v7 1/4] x86: kdump: move reserve_crashkernel_low() into crash_core.c

2020-01-16 Thread Dave Young
On 01/16/20 at 03:17pm, James Morse wrote: > Hi guys, > > On 28/12/2019 09:32, Dave Young wrote: > > On 12/27/19 at 07:04pm, Chen Zhou wrote: > >> On 2019/12/27 13:54, Dave Young wrote: > >>> On 12/23/19 at 11:23pm, Chen Zhou wrote: > In preparation for supporting reserve_crashkernel_low in

Re: [RFC PATCH] PCI, kdump: Clear bus master bit upon shutdown in kdump kernel

2020-01-16 Thread Baoquan He
On 01/17/20 at 11:24am, Dave Young wrote: > On 01/15/20 at 02:17pm, Khalid Aziz wrote: > > On 1/15/20 11:05 AM, Kairui Song wrote: > > > On Thu, Jan 16, 2020 at 1:31 AM Khalid Aziz wrote: > > >> > > >> On 1/13/20 10:07 AM, Kairui Song wrote: > > >>> On Sun, Jan 12, 2020 at 2:33 AM Deepa Dinamani

Re: [RFC PATCH] PCI, kdump: Clear bus master bit upon shutdown in kdump kernel

2020-01-16 Thread Dave Young
On 01/15/20 at 02:17pm, Khalid Aziz wrote: > On 1/15/20 11:05 AM, Kairui Song wrote: > > On Thu, Jan 16, 2020 at 1:31 AM Khalid Aziz wrote: > >> > >> On 1/13/20 10:07 AM, Kairui Song wrote: > >>> On Sun, Jan 12, 2020 at 2:33 AM Deepa Dinamani > >>> wrote: > > > Hi, there are some

Re: [PATCH v4 2/2] arm64: kexec_file: add crash dump support

2020-01-16 Thread Will Deacon
On Tue, Jan 14, 2020 at 02:38:26PM +0900, AKASHI Takahiro wrote: > On Mon, Jan 13, 2020 at 11:21:06AM +, Will Deacon wrote: > > On Fri, Jan 10, 2020 at 11:19:16AM -0500, Pavel Tatashin wrote: > > > On Fri, Jan 10, 2020 at 11:05 AM Will Deacon wrote: > > > > On Thu, Jan 09, 2020 at 08:32:54AM

Re: [PATCH v7 1/4] x86: kdump: move reserve_crashkernel_low() into crash_core.c

2020-01-16 Thread John Donnelly
> On Jan 16, 2020, at 9:17 AM, James Morse wrote: > > Hi guys, > > On 28/12/2019 09:32, Dave Young wrote: >> On 12/27/19 at 07:04pm, Chen Zhou wrote: >>> On 2019/12/27 13:54, Dave Young wrote: On 12/23/19 at 11:23pm, Chen Zhou wrote: > In preparation for supporting

Re: [PATCH v7 1/4] x86: kdump: move reserve_crashkernel_low() into crash_core.c

2020-01-16 Thread James Morse
Hi guys, On 28/12/2019 09:32, Dave Young wrote: > On 12/27/19 at 07:04pm, Chen Zhou wrote: >> On 2019/12/27 13:54, Dave Young wrote: >>> On 12/23/19 at 11:23pm, Chen Zhou wrote: In preparation for supporting reserve_crashkernel_low in arm64 as x86_64 does, move reserve_crashkernel_low()

[ANNOUNCE] makedumpfile 1.6.7 is released

2020-01-16 Thread 萩尾 一仁
Hello, I'm pleased to announce the release of makedumpfile-1.6.7. Your comments/patches are welcome. Main new features: o Support for ELF extended numbering for large memory system o Support for KASLR with -x makedumpfile option on s390x o Support for newer kernels up to v5.4.8 (x86_64)

Re: [PATCH] mm/sparse: reset section's mem_map when fully deactivated

2020-01-16 Thread David Hildenbrand
On 16.01.20 09:24, Baoquan He wrote: > On 01/16/20 at 09:14am, David Hildenbrand wrote: >> On 16.01.20 09:06, David Hildenbrand wrote: >>> On 16.01.20 04:01, Pingfan Liu wrote: When fully deactivated, it is meaningless to keep the value of a section's mem_map. And its mem_map will be

Re: [PATCH] mm/sparse: reset section's mem_map when fully deactivated

2020-01-16 Thread Baoquan He
On 01/16/20 at 09:14am, David Hildenbrand wrote: > On 16.01.20 09:06, David Hildenbrand wrote: > > On 16.01.20 04:01, Pingfan Liu wrote: > >> When fully deactivated, it is meaningless to keep the value of a section's > >> mem_map. And its mem_map will be reassigned during re-added. > >> > >>

Re: [PATCH] mm/sparse: reset section's mem_map when fully deactivated

2020-01-16 Thread David Hildenbrand
On 16.01.20 09:06, David Hildenbrand wrote: > On 16.01.20 04:01, Pingfan Liu wrote: >> When fully deactivated, it is meaningless to keep the value of a section's >> mem_map. And its mem_map will be reassigned during re-added. >> >> Beside this, it breaks the user space tool "makedumpfile", which

Re: [PATCH] mm/sparse: reset section's mem_map when fully deactivated

2020-01-16 Thread David Hildenbrand
On 16.01.20 04:01, Pingfan Liu wrote: > When fully deactivated, it is meaningless to keep the value of a section's > mem_map. And its mem_map will be reassigned during re-added. > > Beside this, it breaks the user space tool "makedumpfile", which makes > assumption that a hot-removed section