From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx129.postini.com [74.125.245.129]) by kanga.kvack.org (Postfix) with SMTP id 566F56B0033 for ; Tue, 23 Jul 2013 23:46:03 -0400 (EDT) Received: from /spool/local by e28smtp07.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 24 Jul 2013 09:07:58 +0530 Received: from d28relay05.in.ibm.com (d28relay05.in.ibm.com [9.184.220.62]) by d28dlp01.in.ibm.com (Postfix) with ESMTP id DF504E0054 for ; Wed, 24 Jul 2013 09:15:57 +0530 (IST) Received: from d28av05.in.ibm.com (d28av05.in.ibm.com [9.184.220.67]) by d28relay05.in.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r6O3jr5B41156710 for ; Wed, 24 Jul 2013 09:15:53 +0530 Received: from d28av05.in.ibm.com (loopback [127.0.0.1]) by d28av05.in.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id r6O3jusP004994 for ; Wed, 24 Jul 2013 13:45:56 +1000 Date: Wed, 24 Jul 2013 11:45:54 +0800 From: Wanpeng Li Subject: Re: [PATCH 6/8] migrate: remove VM_HUGETLB from vma flag check in vma_migratable() Message-ID: <20130724034554.GH22680@hacker.(null)> Reply-To: Wanpeng Li References: <1374183272-10153-1-git-send-email-n-horiguchi@ah.jp.nec.com> <1374183272-10153-7-git-send-email-n-horiguchi@ah.jp.nec.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1374183272-10153-7-git-send-email-n-horiguchi@ah.jp.nec.com> Sender: owner-linux-mm@kvack.org List-ID: To: Naoya Horiguchi Cc: linux-mm@kvack.org, Andrew Morton , Mel Gorman , Hugh Dickins , KOSAKI Motohiro , Andi Kleen , Hillf Danton , Michal Hocko , Rik van Riel , "Aneesh Kumar K.V" , linux-kernel@vger.kernel.org, Naoya Horiguchi On Thu, Jul 18, 2013 at 05:34:30PM -0400, Naoya Horiguchi wrote: >This patch enables hugepage migration from migrate_pages(2), >move_pages(2), and mbind(2). > Reviewed-by: Wanpeng Li >Signed-off-by: Naoya Horiguchi >--- > include/linux/mempolicy.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git v3.11-rc1.orig/include/linux/mempolicy.h v3.11-rc1/include/linux/mempolicy.h >index 0d7df39..2e475b5 100644 >--- v3.11-rc1.orig/include/linux/mempolicy.h >+++ v3.11-rc1/include/linux/mempolicy.h >@@ -173,7 +173,7 @@ extern int mpol_to_str(char *buffer, int maxlen, struct mempolicy *pol); > /* Check if a vma is migratable */ > static inline int vma_migratable(struct vm_area_struct *vma) > { >- if (vma->vm_flags & (VM_IO | VM_HUGETLB | VM_PFNMAP)) >+ if (vma->vm_flags & (VM_IO | VM_PFNMAP)) > return 0; > /* > * Migration allocates pages in the highest zone. If we cannot >-- >1.8.3.1 > >-- >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