From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx117.postini.com [74.125.245.117]) by kanga.kvack.org (Postfix) with SMTP id 8FB686B00C8 for ; Sun, 17 Feb 2013 01:44:55 -0500 (EST) Received: by mail-ob0-f178.google.com with SMTP id wd20so4750939obb.37 for ; Sat, 16 Feb 2013 22:44:54 -0800 (PST) MIME-Version: 1.0 From: KOSAKI Motohiro Date: Sun, 17 Feb 2013 01:44:33 -0500 Message-ID: Subject: [LSF/MM TOPIC][ATTEND] a few topics I'd like to discuss Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Sender: owner-linux-mm@kvack.org List-ID: To: lsf-pc@lists.linux-foundation.org, "linux-mm@kvack.org" Sorry for the delay. I would like to discuss the following topics: * Hugepage migration =96 Currently, hugepage is not migratable and can=92t use pages in ZONE_MOVABLE. It is not happy from point of CMA/hotplug view. * Remove ZONE_MOVABLE =96Very long term goal. Maybe not suitable in this ye= ar. * Mempolicy rebinding rework =96 current mempolicy rebinding has a lot of limitations. - no rebinding when hotplug - no rebinding when using shm memplicy - broken argument check when MPOL_DEFAULT * Rework shared mempolicy =96 shared mempolicy don=92t work correctly when attached from multiple processes. However shmem exist for inter process communication. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx152.postini.com [74.125.245.152]) by kanga.kvack.org (Postfix) with SMTP id 413EB6B00CB for ; Sun, 17 Feb 2013 02:28:20 -0500 (EST) Received: by mail-da0-f41.google.com with SMTP id e20so2053731dak.28 for ; Sat, 16 Feb 2013 23:28:19 -0800 (PST) Message-ID: <5120868D.2090806@gmail.com> Date: Sun, 17 Feb 2013 15:28:13 +0800 From: Will Huck MIME-Version: 1.0 Subject: Re: [LSF/MM TOPIC][ATTEND] a few topics I'd like to discuss References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Sender: owner-linux-mm@kvack.org List-ID: To: KOSAKI Motohiro Cc: lsf-pc@lists.linux-foundation.org, "linux-mm@kvack.org" On 02/17/2013 02:44 PM, KOSAKI Motohiro wrote: > Sorry for the delay. > > I would like to discuss the following topics: > > > > * Hugepage migration ? Currently, hugepage is not migratable and can?t > use pages in ZONE_MOVABLE. It is not happy from point of CMA/hotplug > view. Why CMA not happy? unmovable pages can't alloc from CMA range. > > * Remove ZONE_MOVABLE ?Very long term goal. Maybe not suitable in this year. > > * Mempolicy rebinding rework ? current mempolicy rebinding has a lot > of limitations. > > - no rebinding when hotplug > > - no rebinding when using shm memplicy > > - broken argument check when MPOL_DEFAULT > > * Rework shared mempolicy ? shared mempolicy don?t work correctly when > attached from multiple processes. However shmem exist for inter > process communication. > > -- > To unsubscribe, send a message with 'unsubscribe linux-mm' in > the body to majordomo@kvack.org. For more info on Linux MM, > see: http://www.linux-mm.org/ . > Don't email: email@kvack.org -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx162.postini.com [74.125.245.162]) by kanga.kvack.org (Postfix) with SMTP id 208A16B0002 for ; Mon, 18 Feb 2013 09:50:23 -0500 (EST) Date: Mon, 18 Feb 2013 14:50:18 +0000 From: Mel Gorman Subject: Re: [Lsf-pc] [LSF/MM TOPIC][ATTEND] a few topics I'd like to discuss Message-ID: <20130218145018.GJ4365@suse.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: Sender: owner-linux-mm@kvack.org List-ID: To: KOSAKI Motohiro Cc: lsf-pc@lists.linux-foundation.org, "linux-mm@kvack.org" On Sun, Feb 17, 2013 at 01:44:33AM -0500, KOSAKI Motohiro wrote: > Sorry for the delay. > > I would like to discuss the following topics: > > > > * Hugepage migration ? Currently, hugepage is not migratable and can?t > use pages in ZONE_MOVABLE. It is not happy from point of CMA/hotplug > view. > migrate_huge_page() ? It's also possible to allocate hugetlbfs pages in ZONE_MOVABLE but must be enabled via /proc/sys/vm/hugepages_treat_as_movable. > * Remove ZONE_MOVABLE ?Very long term goal. Maybe not suitable in this year. > Whatever about removing it totally I would like to see node memory hot-remove not depending on ZONE_MOVABLE. -- Mel Gorman SUSE Labs -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx132.postini.com [74.125.245.132]) by kanga.kvack.org (Postfix) with SMTP id 697556B0002 for ; Mon, 18 Feb 2013 21:51:42 -0500 (EST) Received: by mail-vc0-f178.google.com with SMTP id m8so4022342vcd.9 for ; Mon, 18 Feb 2013 18:51:41 -0800 (PST) Message-ID: <5122E8C0.4020404@gmail.com> Date: Mon, 18 Feb 2013 21:51:44 -0500 From: KOSAKI Motohiro MIME-Version: 1.0 Subject: Re: [Lsf-pc] [LSF/MM TOPIC][ATTEND] a few topics I'd like to discuss References: <20130218145018.GJ4365@suse.de> In-Reply-To: <20130218145018.GJ4365@suse.de> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Mel Gorman Cc: KOSAKI Motohiro , lsf-pc@lists.linux-foundation.org, "linux-mm@kvack.org" >> * Hugepage migration ? Currently, hugepage is not migratable and can?t >> use pages in ZONE_MOVABLE. It is not happy from point of CMA/hotplug >> view. >> > > migrate_huge_page() ? > > It's also possible to allocate hugetlbfs pages in ZONE_MOVABLE but must > be enabled via /proc/sys/vm/hugepages_treat_as_movable. Oops. I missed that. Sorry for noise. But but... I wonder why this knob is disabled by default. I don't think anybody get a benefit form current default. >> * Remove ZONE_MOVABLE ?Very long term goal. Maybe not suitable in this year. > > Whatever about removing it totally I would like to see node memory hot-remove > not depending on ZONE_MOVABLE. Yup. I also think so. the first target is page table and icache/dcache because they use a lot of memory. second step is to implement slab migration callback likes shrinker_slab. etc. it is very long term story. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx128.postini.com [74.125.245.128]) by kanga.kvack.org (Postfix) with SMTP id 128B86B0002 for ; Tue, 19 Feb 2013 06:30:16 -0500 (EST) Date: Tue, 19 Feb 2013 11:30:12 +0000 From: Mel Gorman Subject: Re: [Lsf-pc] [LSF/MM TOPIC][ATTEND] a few topics I'd like to discuss Message-ID: <20130219113012.GP4365@suse.de> References: <20130218145018.GJ4365@suse.de> <5122E8C0.4020404@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <5122E8C0.4020404@gmail.com> Sender: owner-linux-mm@kvack.org List-ID: To: KOSAKI Motohiro Cc: lsf-pc@lists.linux-foundation.org, "linux-mm@kvack.org" On Mon, Feb 18, 2013 at 09:51:44PM -0500, KOSAKI Motohiro wrote: > >> * Hugepage migration ? Currently, hugepage is not migratable and can?t > >> use pages in ZONE_MOVABLE. It is not happy from point of CMA/hotplug > >> view. > >> > > > > migrate_huge_page() ? > > > > It's also possible to allocate hugetlbfs pages in ZONE_MOVABLE but must > > be enabled via /proc/sys/vm/hugepages_treat_as_movable. > > Oops. I missed that. Sorry for noise. > > But but... I wonder why this knob is disabled by default. I don't think anybody > get a benefit form current default. > It's disabled by default simply because at the time the pages were not movable at all. They now should be movable with some additional work and potentially the default could change after that or be removed entirely. -- Mel Gorman SUSE Labs -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx170.postini.com [74.125.245.170]) by kanga.kvack.org (Postfix) with SMTP id 3E32D6B0002 for ; Tue, 19 Feb 2013 16:44:31 -0500 (EST) Received: by mail-ob0-f176.google.com with SMTP id v19so7069163obq.21 for ; Tue, 19 Feb 2013 13:44:30 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <20130219113012.GP4365@suse.de> References: <20130218145018.GJ4365@suse.de> <5122E8C0.4020404@gmail.com> <20130219113012.GP4365@suse.de> From: KOSAKI Motohiro Date: Tue, 19 Feb 2013 16:44:08 -0500 Message-ID: Subject: Re: [Lsf-pc] [LSF/MM TOPIC][ATTEND] a few topics I'd like to discuss Content-Type: text/plain; charset=ISO-8859-1 Sender: owner-linux-mm@kvack.org List-ID: To: Mel Gorman Cc: lsf-pc@lists.linux-foundation.org, "linux-mm@kvack.org" > It's disabled by default simply because at the time the pages were not > movable at all. They now should be movable with some additional work and > potentially the default could change after that or be removed entirely. Got it. I also found several corner case in current code and I'm interesting to fix it. Thank you! -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx153.postini.com [74.125.245.153]) by kanga.kvack.org (Postfix) with SMTP id 09F8E6B0002 for ; Wed, 20 Feb 2013 06:03:48 -0500 (EST) Received: by mail-gg0-f169.google.com with SMTP id j5so965621ggn.28 for ; Wed, 20 Feb 2013 03:03:48 -0800 (PST) Message-ID: <5124AD8E.9040105@gmail.com> Date: Wed, 20 Feb 2013 19:03:42 +0800 From: Simon Jeons MIME-Version: 1.0 Subject: Re: [Lsf-pc] [LSF/MM TOPIC][ATTEND] a few topics I'd like to discuss References: <20130218145018.GJ4365@suse.de> In-Reply-To: <20130218145018.GJ4365@suse.de> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Mel Gorman Cc: KOSAKI Motohiro , lsf-pc@lists.linux-foundation.org, "linux-mm@kvack.org" On 02/18/2013 10:50 PM, Mel Gorman wrote: > On Sun, Feb 17, 2013 at 01:44:33AM -0500, KOSAKI Motohiro wrote: >> Sorry for the delay. >> >> I would like to discuss the following topics: >> >> >> >> * Hugepage migration ? Currently, hugepage is not migratable and can?t >> use pages in ZONE_MOVABLE. It is not happy from point of CMA/hotplug >> view. >> > migrate_huge_page() ? It seems that migrate_huge_page just called in memory failure path, why can't support in memory hotplug path? > > It's also possible to allocate hugetlbfs pages in ZONE_MOVABLE but must > be enabled via /proc/sys/vm/hugepages_treat_as_movable. > >> * Remove ZONE_MOVABLE ?Very long term goal. Maybe not suitable in this year. >> > Whatever about removing it totally I would like to see node memory hot-remove > not depending on ZONE_MOVABLE. > -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx171.postini.com [74.125.245.171]) by kanga.kvack.org (Postfix) with SMTP id 922ED6B0002 for ; Fri, 22 Feb 2013 22:02:52 -0500 (EST) Received: by mail-ob0-f169.google.com with SMTP id ta14so1159137obb.28 for ; Fri, 22 Feb 2013 19:02:51 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <5124AD8E.9040105@gmail.com> References: <20130218145018.GJ4365@suse.de> <5124AD8E.9040105@gmail.com> From: KOSAKI Motohiro Date: Fri, 22 Feb 2013 22:02:31 -0500 Message-ID: Subject: Re: [Lsf-pc] [LSF/MM TOPIC][ATTEND] a few topics I'd like to discuss Content-Type: text/plain; charset=ISO-8859-1 Sender: owner-linux-mm@kvack.org List-ID: To: Simon Jeons Cc: Mel Gorman , lsf-pc@lists.linux-foundation.org, "linux-mm@kvack.org" On Wed, Feb 20, 2013 at 6:03 AM, Simon Jeons wrote: > On 02/18/2013 10:50 PM, Mel Gorman wrote: >> >> On Sun, Feb 17, 2013 at 01:44:33AM -0500, KOSAKI Motohiro wrote: >>> >>> Sorry for the delay. >>> >>> I would like to discuss the following topics: >>> >>> >>> >>> * Hugepage migration ? Currently, hugepage is not migratable and can?t >>> use pages in ZONE_MOVABLE. It is not happy from point of CMA/hotplug >>> view. >>> >> migrate_huge_page() ? > > > It seems that migrate_huge_page just called in memory failure path, why > can't support in memory hotplug path? No big reason. Now, horiguchi-san is developing this feature. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org