Re: [PATCH] mm, memory_hotplug: __offline_pages fix wrong locking

2019-01-15 Thread Jan Kara
On Tue 15-01-19 13:03:07, Michal Hocko wrote: > From: Michal Hocko > > Jan has noticed that we do double unlock on some failure paths when > offlining a page range. This is indeed the case when test_pages_in_a_zone > respp. start_isolate_page_range fail. This was an omission when forward > portin

Re: [PATCH] mm, memory_hotplug: __offline_pages fix wrong locking

2019-01-15 Thread Oscar Salvador
On Tue, Jan 15, 2019 at 01:03:07PM +0100, Michal Hocko wrote: > From: Michal Hocko > > Jan has noticed that we do double unlock on some failure paths when > offlining a page range. This is indeed the case when test_pages_in_a_zone > respp. start_isolate_page_range fail. This was an omission when

[PATCH] mm, memory_hotplug: __offline_pages fix wrong locking

2019-01-15 Thread Michal Hocko
From: Michal Hocko Jan has noticed that we do double unlock on some failure paths when offlining a page range. This is indeed the case when test_pages_in_a_zone respp. start_isolate_page_range fail. This was an omission when forward porting the debugging patch from an older kernel. Fix the issue