RE: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-11-13 Thread Ran Wang
Kuznetsov <vkuzn...@redhat.com>; LKML <linux-kernel@vger.kernel.org>; > Leo Li <leoyang...@nxp.com>; Xiaobo Xie <xiaobo@nxp.com> > Subject: Re: [PATCH 1/2] mm: drop migrate type checks from > has_unmovable_pages > > On Tue 14-11-17 06:10:00, Ran Wang

RE: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-11-13 Thread Ran Wang
uaki Ishimatsu ; > qiuxi...@huawei.com; Igor Mammedov ; Vitaly > Kuznetsov ; LKML ; > Leo Li ; Xiaobo Xie > Subject: Re: [PATCH 1/2] mm: drop migrate type checks from > has_unmovable_pages > > On Tue 14-11-17 06:10:00, Ran Wang wrote: > [...] > > > >

Re: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-11-13 Thread Michal Hocko
On Tue 14-11-17 06:10:00, Ran Wang wrote: [...] > > > This drop cause DWC3 USB controller fail on initialization with > > > Layerscaper processors (such as LS1043A) as below: > > > > > > [2.701437] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned > > bus number 1 > > > [2.710949]

Re: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-11-13 Thread Michal Hocko
On Tue 14-11-17 06:10:00, Ran Wang wrote: [...] > > > This drop cause DWC3 USB controller fail on initialization with > > > Layerscaper processors (such as LS1043A) as below: > > > > > > [2.701437] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned > > bus number 1 > > > [2.710949]

RE: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-11-13 Thread Ran Wang
Kuznetsov <vkuzn...@redhat.com>; LKML <linux-kernel@vger.kernel.org>; > Leo Li <leoyang...@nxp.com>; Xiaobo Xie <xiaobo@nxp.com> > Subject: Re: [PATCH 1/2] mm: drop migrate type checks from > has_unmovable_pages > > On Mon 13-11-17 07:33:13, Ran Wang

RE: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-11-13 Thread Ran Wang
uaki Ishimatsu ; > qiuxi...@huawei.com; Igor Mammedov ; Vitaly > Kuznetsov ; LKML ; > Leo Li ; Xiaobo Xie > Subject: Re: [PATCH 1/2] mm: drop migrate type checks from > has_unmovable_pages > > On Mon 13-11-17 07:33:13, Ran Wang wrote: > > Hello Michal, > > > > &

Re: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-11-13 Thread Michal Hocko
On Mon 13-11-17 07:33:13, Ran Wang wrote: > Hello Michal, > > > > > Date: Fri, 13 Oct 2017 14:00:12 +0200 > > > > From: Michal Hocko > > > > Michael has noticed that the memory offline tries to migrate kernel code > > pages when doing echo 0 >

Re: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-11-13 Thread Michal Hocko
On Mon 13-11-17 07:33:13, Ran Wang wrote: > Hello Michal, > > > > > Date: Fri, 13 Oct 2017 14:00:12 +0200 > > > > From: Michal Hocko > > > > Michael has noticed that the memory offline tries to migrate kernel code > > pages when doing echo 0 > /sys/devices/system/memory/memory0/online > >

RE: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-11-12 Thread Ran Wang
Hello Michal, > Date: Fri, 13 Oct 2017 14:00:12 +0200 > > From: Michal Hocko > > Michael has noticed that the memory offline tries to migrate kernel code > pages when doing echo 0 > /sys/devices/system/memory/memory0/online > > The current implementation will fail the

RE: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-11-12 Thread Ran Wang
Hello Michal, > Date: Fri, 13 Oct 2017 14:00:12 +0200 > > From: Michal Hocko > > Michael has noticed that the memory offline tries to migrate kernel code > pages when doing echo 0 > /sys/devices/system/memory/memory0/online > > The current implementation will fail the operation after

Re: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-10-26 Thread Michal Hocko
On Thu 19-10-17 14:21:18, Michal Hocko wrote: [...] > From 8cbd811d741f5dd93d1b21bb3ef94482a4d0bd32 Mon Sep 17 00:00:00 2001 > From: Michal Hocko > Date: Thu, 19 Oct 2017 14:14:02 +0200 > Subject: [PATCH] mm: distinguish CMA and MOVABLE isolation in > has_unmovable_pages > >

Re: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-10-26 Thread Michal Hocko
On Thu 19-10-17 14:21:18, Michal Hocko wrote: [...] > From 8cbd811d741f5dd93d1b21bb3ef94482a4d0bd32 Mon Sep 17 00:00:00 2001 > From: Michal Hocko > Date: Thu, 19 Oct 2017 14:14:02 +0200 > Subject: [PATCH] mm: distinguish CMA and MOVABLE isolation in > has_unmovable_pages > > Joonsoo has noticed

Re: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-10-26 Thread Vlastimil Babka
On 10/19/2017 02:21 PM, Michal Hocko wrote: > On Thu 19-10-17 10:20:41, Michal Hocko wrote: >> On Thu 19-10-17 16:33:56, Joonsoo Kim wrote: >>> On Thu, Oct 19, 2017 at 09:15:03AM +0200, Michal Hocko wrote: On Thu 19-10-17 11:51:11, Joonsoo Kim wrote: >> [...] > Hello, > > This

Re: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-10-26 Thread Vlastimil Babka
On 10/19/2017 02:21 PM, Michal Hocko wrote: > On Thu 19-10-17 10:20:41, Michal Hocko wrote: >> On Thu 19-10-17 16:33:56, Joonsoo Kim wrote: >>> On Thu, Oct 19, 2017 at 09:15:03AM +0200, Michal Hocko wrote: On Thu 19-10-17 11:51:11, Joonsoo Kim wrote: >> [...] > Hello, > > This

Re: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-10-26 Thread Michal Hocko
On Thu 26-10-17 11:47:07, Joonsoo Kim wrote: > On Tue, Oct 24, 2017 at 10:12:58AM +0200, Vlastimil Babka wrote: > > On 10/24/2017 06:44 AM, Joonsoo Kim wrote: > > >>> I'm not sure what is the confusing semantic you mentioned. I think > > >>> that set_migratetype_isolate() has confusing semantic

Re: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-10-26 Thread Michal Hocko
On Thu 26-10-17 11:47:07, Joonsoo Kim wrote: > On Tue, Oct 24, 2017 at 10:12:58AM +0200, Vlastimil Babka wrote: > > On 10/24/2017 06:44 AM, Joonsoo Kim wrote: > > >>> I'm not sure what is the confusing semantic you mentioned. I think > > >>> that set_migratetype_isolate() has confusing semantic

Re: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-10-25 Thread Joonsoo Kim
On Tue, Oct 24, 2017 at 10:12:58AM +0200, Vlastimil Babka wrote: > On 10/24/2017 06:44 AM, Joonsoo Kim wrote: > >>> I'm not sure what is the confusing semantic you mentioned. I think > >>> that set_migratetype_isolate() has confusing semantic and should be > >>> fixed since making the pageblock

Re: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-10-25 Thread Joonsoo Kim
On Tue, Oct 24, 2017 at 10:12:58AM +0200, Vlastimil Babka wrote: > On 10/24/2017 06:44 AM, Joonsoo Kim wrote: > >>> I'm not sure what is the confusing semantic you mentioned. I think > >>> that set_migratetype_isolate() has confusing semantic and should be > >>> fixed since making the pageblock

Re: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-10-24 Thread Michal Hocko
On Tue 24-10-17 10:12:58, Vlastimil Babka wrote: > On 10/24/2017 06:44 AM, Joonsoo Kim wrote: > >>> I'm not sure what is the confusing semantic you mentioned. I think > >>> that set_migratetype_isolate() has confusing semantic and should be > >>> fixed since making the pageblock isolated doesn't

Re: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-10-24 Thread Michal Hocko
On Tue 24-10-17 10:12:58, Vlastimil Babka wrote: > On 10/24/2017 06:44 AM, Joonsoo Kim wrote: > >>> I'm not sure what is the confusing semantic you mentioned. I think > >>> that set_migratetype_isolate() has confusing semantic and should be > >>> fixed since making the pageblock isolated doesn't

Re: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-10-24 Thread Vlastimil Babka
On 10/24/2017 06:44 AM, Joonsoo Kim wrote: >>> I'm not sure what is the confusing semantic you mentioned. I think >>> that set_migratetype_isolate() has confusing semantic and should be >>> fixed since making the pageblock isolated doesn't need to check if >>> there is unmovable page or not. Do

Re: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-10-24 Thread Vlastimil Babka
On 10/24/2017 06:44 AM, Joonsoo Kim wrote: >>> I'm not sure what is the confusing semantic you mentioned. I think >>> that set_migratetype_isolate() has confusing semantic and should be >>> fixed since making the pageblock isolated doesn't need to check if >>> there is unmovable page or not. Do

Re: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-10-24 Thread Michal Hocko
On Tue 24-10-17 13:44:23, Joonsoo Kim wrote: > On Mon, Oct 23, 2017 at 10:10:09AM +0200, Michal Hocko wrote: [...] > > My intuitive understanding of set_migratetype_isolate is that it either > > suceeds and that means that the given pfn range can be isolated for the > > given type of allocation

Re: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-10-24 Thread Michal Hocko
On Tue 24-10-17 13:44:23, Joonsoo Kim wrote: > On Mon, Oct 23, 2017 at 10:10:09AM +0200, Michal Hocko wrote: [...] > > My intuitive understanding of set_migratetype_isolate is that it either > > suceeds and that means that the given pfn range can be isolated for the > > given type of allocation

Re: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-10-23 Thread Joonsoo Kim
On Mon, Oct 23, 2017 at 10:10:09AM +0200, Michal Hocko wrote: > On Mon 23-10-17 14:23:09, Joonsoo Kim wrote: > > On Fri, Oct 20, 2017 at 09:02:20AM +0200, Michal Hocko wrote: > > > On Fri 20-10-17 15:50:14, Joonsoo Kim wrote: > > > > On Fri, Oct 20, 2017 at 07:59:22AM +0200, Michal Hocko wrote: >

Re: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-10-23 Thread Joonsoo Kim
On Mon, Oct 23, 2017 at 10:10:09AM +0200, Michal Hocko wrote: > On Mon 23-10-17 14:23:09, Joonsoo Kim wrote: > > On Fri, Oct 20, 2017 at 09:02:20AM +0200, Michal Hocko wrote: > > > On Fri 20-10-17 15:50:14, Joonsoo Kim wrote: > > > > On Fri, Oct 20, 2017 at 07:59:22AM +0200, Michal Hocko wrote: >

Re: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-10-23 Thread Michal Hocko
On Mon 23-10-17 14:23:09, Joonsoo Kim wrote: > On Fri, Oct 20, 2017 at 09:02:20AM +0200, Michal Hocko wrote: > > On Fri 20-10-17 15:50:14, Joonsoo Kim wrote: > > > On Fri, Oct 20, 2017 at 07:59:22AM +0200, Michal Hocko wrote: > > > > On Fri 20-10-17 11:13:29, Joonsoo Kim wrote: > > > > > On Thu,

Re: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-10-23 Thread Michal Hocko
On Mon 23-10-17 14:23:09, Joonsoo Kim wrote: > On Fri, Oct 20, 2017 at 09:02:20AM +0200, Michal Hocko wrote: > > On Fri 20-10-17 15:50:14, Joonsoo Kim wrote: > > > On Fri, Oct 20, 2017 at 07:59:22AM +0200, Michal Hocko wrote: > > > > On Fri 20-10-17 11:13:29, Joonsoo Kim wrote: > > > > > On Thu,

Re: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-10-22 Thread Joonsoo Kim
On Fri, Oct 20, 2017 at 10:17:00AM +0200, Michal Hocko wrote: > On Fri 20-10-17 15:22:14, Xishi Qiu wrote: > > On 2017/10/20 10:13, Joonsoo Kim wrote: > > > > > On Thu, Oct 19, 2017 at 02:21:18PM +0200, Michal Hocko wrote: > [...] > > >> >From 8cbd811d741f5dd93d1b21bb3ef94482a4d0bd32 Mon Sep 17

Re: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-10-22 Thread Joonsoo Kim
On Fri, Oct 20, 2017 at 10:17:00AM +0200, Michal Hocko wrote: > On Fri 20-10-17 15:22:14, Xishi Qiu wrote: > > On 2017/10/20 10:13, Joonsoo Kim wrote: > > > > > On Thu, Oct 19, 2017 at 02:21:18PM +0200, Michal Hocko wrote: > [...] > > >> >From 8cbd811d741f5dd93d1b21bb3ef94482a4d0bd32 Mon Sep 17

Re: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-10-22 Thread Joonsoo Kim
On Fri, Oct 20, 2017 at 09:02:20AM +0200, Michal Hocko wrote: > On Fri 20-10-17 15:50:14, Joonsoo Kim wrote: > > On Fri, Oct 20, 2017 at 07:59:22AM +0200, Michal Hocko wrote: > > > On Fri 20-10-17 11:13:29, Joonsoo Kim wrote: > > > > On Thu, Oct 19, 2017 at 02:21:18PM +0200, Michal Hocko wrote: >

Re: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-10-22 Thread Joonsoo Kim
On Fri, Oct 20, 2017 at 09:02:20AM +0200, Michal Hocko wrote: > On Fri 20-10-17 15:50:14, Joonsoo Kim wrote: > > On Fri, Oct 20, 2017 at 07:59:22AM +0200, Michal Hocko wrote: > > > On Fri 20-10-17 11:13:29, Joonsoo Kim wrote: > > > > On Thu, Oct 19, 2017 at 02:21:18PM +0200, Michal Hocko wrote: >

Re: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-10-20 Thread Michal Hocko
On Fri 20-10-17 15:22:14, Xishi Qiu wrote: > On 2017/10/20 10:13, Joonsoo Kim wrote: > > > On Thu, Oct 19, 2017 at 02:21:18PM +0200, Michal Hocko wrote: [...] > >> >From 8cbd811d741f5dd93d1b21bb3ef94482a4d0bd32 Mon Sep 17 00:00:00 2001 > >> From: Michal Hocko > >> Date: Thu, 19

Re: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-10-20 Thread Michal Hocko
On Fri 20-10-17 15:22:14, Xishi Qiu wrote: > On 2017/10/20 10:13, Joonsoo Kim wrote: > > > On Thu, Oct 19, 2017 at 02:21:18PM +0200, Michal Hocko wrote: [...] > >> >From 8cbd811d741f5dd93d1b21bb3ef94482a4d0bd32 Mon Sep 17 00:00:00 2001 > >> From: Michal Hocko > >> Date: Thu, 19 Oct 2017 14:14:02

Re: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-10-20 Thread Xishi Qiu
On 2017/10/20 10:13, Joonsoo Kim wrote: > On Thu, Oct 19, 2017 at 02:21:18PM +0200, Michal Hocko wrote: >> On Thu 19-10-17 10:20:41, Michal Hocko wrote: >>> On Thu 19-10-17 16:33:56, Joonsoo Kim wrote: On Thu, Oct 19, 2017 at 09:15:03AM +0200, Michal Hocko wrote: > On Thu 19-10-17

Re: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-10-20 Thread Xishi Qiu
On 2017/10/20 10:13, Joonsoo Kim wrote: > On Thu, Oct 19, 2017 at 02:21:18PM +0200, Michal Hocko wrote: >> On Thu 19-10-17 10:20:41, Michal Hocko wrote: >>> On Thu 19-10-17 16:33:56, Joonsoo Kim wrote: On Thu, Oct 19, 2017 at 09:15:03AM +0200, Michal Hocko wrote: > On Thu 19-10-17

Re: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-10-20 Thread Michal Hocko
On Fri 20-10-17 15:50:14, Joonsoo Kim wrote: > On Fri, Oct 20, 2017 at 07:59:22AM +0200, Michal Hocko wrote: > > On Fri 20-10-17 11:13:29, Joonsoo Kim wrote: > > > On Thu, Oct 19, 2017 at 02:21:18PM +0200, Michal Hocko wrote: > > > > On Thu 19-10-17 10:20:41, Michal Hocko wrote: > > > > > On Thu

Re: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-10-20 Thread Michal Hocko
On Fri 20-10-17 15:50:14, Joonsoo Kim wrote: > On Fri, Oct 20, 2017 at 07:59:22AM +0200, Michal Hocko wrote: > > On Fri 20-10-17 11:13:29, Joonsoo Kim wrote: > > > On Thu, Oct 19, 2017 at 02:21:18PM +0200, Michal Hocko wrote: > > > > On Thu 19-10-17 10:20:41, Michal Hocko wrote: > > > > > On Thu

Re: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-10-20 Thread Joonsoo Kim
On Fri, Oct 20, 2017 at 07:59:22AM +0200, Michal Hocko wrote: > On Fri 20-10-17 11:13:29, Joonsoo Kim wrote: > > On Thu, Oct 19, 2017 at 02:21:18PM +0200, Michal Hocko wrote: > > > On Thu 19-10-17 10:20:41, Michal Hocko wrote: > > > > On Thu 19-10-17 16:33:56, Joonsoo Kim wrote: > > > > > On Thu,

Re: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-10-20 Thread Joonsoo Kim
On Fri, Oct 20, 2017 at 07:59:22AM +0200, Michal Hocko wrote: > On Fri 20-10-17 11:13:29, Joonsoo Kim wrote: > > On Thu, Oct 19, 2017 at 02:21:18PM +0200, Michal Hocko wrote: > > > On Thu 19-10-17 10:20:41, Michal Hocko wrote: > > > > On Thu 19-10-17 16:33:56, Joonsoo Kim wrote: > > > > > On Thu,

Re: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-10-20 Thread Michal Hocko
On Fri 20-10-17 11:13:29, Joonsoo Kim wrote: > On Thu, Oct 19, 2017 at 02:21:18PM +0200, Michal Hocko wrote: > > On Thu 19-10-17 10:20:41, Michal Hocko wrote: > > > On Thu 19-10-17 16:33:56, Joonsoo Kim wrote: > > > > On Thu, Oct 19, 2017 at 09:15:03AM +0200, Michal Hocko wrote: > > > > > On Thu

Re: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-10-20 Thread Michal Hocko
On Fri 20-10-17 11:13:29, Joonsoo Kim wrote: > On Thu, Oct 19, 2017 at 02:21:18PM +0200, Michal Hocko wrote: > > On Thu 19-10-17 10:20:41, Michal Hocko wrote: > > > On Thu 19-10-17 16:33:56, Joonsoo Kim wrote: > > > > On Thu, Oct 19, 2017 at 09:15:03AM +0200, Michal Hocko wrote: > > > > > On Thu

Re: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-10-19 Thread Joonsoo Kim
On Thu, Oct 19, 2017 at 02:21:18PM +0200, Michal Hocko wrote: > On Thu 19-10-17 10:20:41, Michal Hocko wrote: > > On Thu 19-10-17 16:33:56, Joonsoo Kim wrote: > > > On Thu, Oct 19, 2017 at 09:15:03AM +0200, Michal Hocko wrote: > > > > On Thu 19-10-17 11:51:11, Joonsoo Kim wrote: > > [...] > > > >

Re: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-10-19 Thread Joonsoo Kim
On Thu, Oct 19, 2017 at 02:21:18PM +0200, Michal Hocko wrote: > On Thu 19-10-17 10:20:41, Michal Hocko wrote: > > On Thu 19-10-17 16:33:56, Joonsoo Kim wrote: > > > On Thu, Oct 19, 2017 at 09:15:03AM +0200, Michal Hocko wrote: > > > > On Thu 19-10-17 11:51:11, Joonsoo Kim wrote: > > [...] > > > >

Re: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-10-19 Thread Michal Hocko
On Thu 19-10-17 10:20:41, Michal Hocko wrote: > On Thu 19-10-17 16:33:56, Joonsoo Kim wrote: > > On Thu, Oct 19, 2017 at 09:15:03AM +0200, Michal Hocko wrote: > > > On Thu 19-10-17 11:51:11, Joonsoo Kim wrote: > [...] > > > > Hello, > > > > > > > > This patch will break the CMA user. As you

Re: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-10-19 Thread Michal Hocko
On Thu 19-10-17 10:20:41, Michal Hocko wrote: > On Thu 19-10-17 16:33:56, Joonsoo Kim wrote: > > On Thu, Oct 19, 2017 at 09:15:03AM +0200, Michal Hocko wrote: > > > On Thu 19-10-17 11:51:11, Joonsoo Kim wrote: > [...] > > > > Hello, > > > > > > > > This patch will break the CMA user. As you

Re: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-10-19 Thread Michal Hocko
On Thu 19-10-17 16:33:56, Joonsoo Kim wrote: > On Thu, Oct 19, 2017 at 09:15:03AM +0200, Michal Hocko wrote: > > On Thu 19-10-17 11:51:11, Joonsoo Kim wrote: [...] > > > Hello, > > > > > > This patch will break the CMA user. As you mentioned, CMA allocation > > > itself isn't migrateable. So,

Re: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-10-19 Thread Michal Hocko
On Thu 19-10-17 16:33:56, Joonsoo Kim wrote: > On Thu, Oct 19, 2017 at 09:15:03AM +0200, Michal Hocko wrote: > > On Thu 19-10-17 11:51:11, Joonsoo Kim wrote: [...] > > > Hello, > > > > > > This patch will break the CMA user. As you mentioned, CMA allocation > > > itself isn't migrateable. So,

Re: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-10-19 Thread Joonsoo Kim
On Thu, Oct 19, 2017 at 09:15:03AM +0200, Michal Hocko wrote: > On Thu 19-10-17 11:51:11, Joonsoo Kim wrote: > > On Fri, Oct 13, 2017 at 02:00:12PM +0200, Michal Hocko wrote: > > > From: Michal Hocko > > > > > > Michael has noticed that the memory offline tries to migrate kernel

Re: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-10-19 Thread Joonsoo Kim
On Thu, Oct 19, 2017 at 09:15:03AM +0200, Michal Hocko wrote: > On Thu 19-10-17 11:51:11, Joonsoo Kim wrote: > > On Fri, Oct 13, 2017 at 02:00:12PM +0200, Michal Hocko wrote: > > > From: Michal Hocko > > > > > > Michael has noticed that the memory offline tries to migrate kernel code > > > pages

Re: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-10-19 Thread Michal Hocko
On Thu 19-10-17 11:51:11, Joonsoo Kim wrote: > On Fri, Oct 13, 2017 at 02:00:12PM +0200, Michal Hocko wrote: > > From: Michal Hocko > > > > Michael has noticed that the memory offline tries to migrate kernel code > > pages when doing > > echo 0 >

Re: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-10-19 Thread Michal Hocko
On Thu 19-10-17 11:51:11, Joonsoo Kim wrote: > On Fri, Oct 13, 2017 at 02:00:12PM +0200, Michal Hocko wrote: > > From: Michal Hocko > > > > Michael has noticed that the memory offline tries to migrate kernel code > > pages when doing > > echo 0 > /sys/devices/system/memory/memory0/online > > >

Re: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-10-18 Thread Joonsoo Kim
On Fri, Oct 13, 2017 at 02:00:12PM +0200, Michal Hocko wrote: > From: Michal Hocko > > Michael has noticed that the memory offline tries to migrate kernel code > pages when doing > echo 0 > /sys/devices/system/memory/memory0/online > > The current implementation will fail the

Re: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-10-18 Thread Joonsoo Kim
On Fri, Oct 13, 2017 at 02:00:12PM +0200, Michal Hocko wrote: > From: Michal Hocko > > Michael has noticed that the memory offline tries to migrate kernel code > pages when doing > echo 0 > /sys/devices/system/memory/memory0/online > > The current implementation will fail the operation after

Re: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-10-17 Thread Vlastimil Babka
On 10/13/2017 02:00 PM, Michal Hocko wrote: > From: Michal Hocko > > Michael has noticed that the memory offline tries to migrate kernel code > pages when doing > echo 0 > /sys/devices/system/memory/memory0/online > > The current implementation will fail the operation after

Re: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-10-17 Thread Vlastimil Babka
On 10/13/2017 02:00 PM, Michal Hocko wrote: > From: Michal Hocko > > Michael has noticed that the memory offline tries to migrate kernel code > pages when doing > echo 0 > /sys/devices/system/memory/memory0/online > > The current implementation will fail the operation after several failed >

Re: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-10-17 Thread Michal Hocko
On Tue 17-10-17 22:41:08, Michael Ellerman wrote: > Michal Hocko writes: > > > From: Michal Hocko > > > > Michael has noticed that the memory offline tries to migrate kernel code > > pages when doing > > echo 0 > /sys/devices/system/memory/memory0/online > >

Re: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-10-17 Thread Michal Hocko
On Tue 17-10-17 22:41:08, Michael Ellerman wrote: > Michal Hocko writes: > > > From: Michal Hocko > > > > Michael has noticed that the memory offline tries to migrate kernel code > > pages when doing > > echo 0 > /sys/devices/system/memory/memory0/online > > > > The current implementation will

Re: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-10-17 Thread Michael Ellerman
Michal Hocko writes: > From: Michal Hocko > > Michael has noticed that the memory offline tries to migrate kernel code > pages when doing > echo 0 > /sys/devices/system/memory/memory0/online > > The current implementation will fail the operation after

Re: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages

2017-10-17 Thread Michael Ellerman
Michal Hocko writes: > From: Michal Hocko > > Michael has noticed that the memory offline tries to migrate kernel code > pages when doing > echo 0 > /sys/devices/system/memory/memory0/online > > The current implementation will fail the operation after several failed > page migration attempts