Re: [LKP] [RFC PATCH] mm, memory_hotplug: fix off-by-one in is_pageblock_removable

2019-02-20 Thread Michal Hocko
On Thu 21-02-19 11:18:07, Rong Chen wrote: > Hi, > > The patch can fix the issue for me. Thanks for the confirmation! -- Michal Hocko SUSE Labs

Re: [LKP] [RFC PATCH] mm, memory_hotplug: fix off-by-one in is_pageblock_removable

2019-02-20 Thread Rong Chen
Hi, The patch can fix the issue for me. Best Regards, Rong Chen On 2/20/19 8:57 PM, Michal Hocko wrote: Rong Chen, coudl you double check this indeed fixes the issue for you please? On Mon 18-02-19 19:15:44, Michal Hocko wrote: From: Michal Hocko Rong Chen has reported the following boot

Re: [RFC PATCH] mm, memory_hotplug: fix off-by-one in is_pageblock_removable

2019-02-20 Thread Michal Hocko
Rong Chen, coudl you double check this indeed fixes the issue for you please? On Mon 18-02-19 19:15:44, Michal Hocko wrote: > From: Michal Hocko > > Rong Chen has reported the following boot crash > [ 40.305212] PGD 0 P4D 0 > [ 40.308255] Oops: [#1] PREEMPT SMP PTI > [ 40.313055]

Re: [RFC PATCH] mm, memory_hotplug: fix off-by-one in is_pageblock_removable

2019-02-20 Thread Oscar Salvador
On Mon, Feb 18, 2019 at 07:15:44PM +0100, Michal Hocko wrote: > From: Michal Hocko > Fixes: efad4e475c31 ("mm, memory_hotplug: is_mem_section_removable do not > pass the end of a zone") > Reported-by: > Signed-off-by: Michal Hocko Looks good to me. I glanced quickly over the memhotplug code

Re: [RFC PATCH] mm, memory_hotplug: fix off-by-one in is_pageblock_removable

2019-02-18 Thread Mike Rapoport
On Mon, Feb 18, 2019 at 07:15:44PM +0100, Michal Hocko wrote: > From: Michal Hocko > > Rong Chen has reported the following boot crash > [ 40.305212] PGD 0 P4D 0 > [ 40.308255] Oops: [#1] PREEMPT SMP PTI > [ 40.313055] CPU: 1 PID: 239 Comm: udevd Not tainted >

[RFC PATCH] mm, memory_hotplug: fix off-by-one in is_pageblock_removable

2019-02-18 Thread Michal Hocko
From: Michal Hocko Rong Chen has reported the following boot crash [ 40.305212] PGD 0 P4D 0 [ 40.308255] Oops: [#1] PREEMPT SMP PTI [ 40.313055] CPU: 1 PID: 239 Comm: udevd Not tainted 5.0.0-rc4-00149-gefad4e4 #1 [ 40.321348] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996),