From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ob0-f174.google.com (mail-ob0-f174.google.com [209.85.214.174]) by kanga.kvack.org (Postfix) with ESMTP id 7F7C76B009D for ; Tue, 10 Dec 2013 04:19:59 -0500 (EST) Received: by mail-ob0-f174.google.com with SMTP id wn1so4986750obc.5 for ; Tue, 10 Dec 2013 01:19:59 -0800 (PST) Received: from e28smtp09.in.ibm.com (e28smtp09.in.ibm.com. [122.248.162.9]) by mx.google.com with ESMTPS id jz3si9851486obb.68.2013.12.10.01.19.52 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 10 Dec 2013 01:19:57 -0800 (PST) Received: from /spool/local by e28smtp09.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 10 Dec 2013 14:49:42 +0530 Received: from d28relay05.in.ibm.com (d28relay05.in.ibm.com [9.184.220.62]) by d28dlp01.in.ibm.com (Postfix) with ESMTP id F3C8CE0053 for ; Tue, 10 Dec 2013 14:51:57 +0530 (IST) Received: from d28av01.in.ibm.com (d28av01.in.ibm.com [9.184.220.63]) by d28relay05.in.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id rBA9JapG5898554 for ; Tue, 10 Dec 2013 14:49:36 +0530 Received: from d28av01.in.ibm.com (localhost [127.0.0.1]) by d28av01.in.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id rBA9JcF1026005 for ; Tue, 10 Dec 2013 14:49:38 +0530 From: Wanpeng Li Subject: [PATCH v4 01/12] sched/numa: fix set cpupid on page migration twice against thp Date: Tue, 10 Dec 2013 17:19:24 +0800 Message-Id: <1386667175-19952-1-git-send-email-liwanp@linux.vnet.ibm.com> Sender: owner-linux-mm@kvack.org List-ID: To: Andrew Morton , Ingo Molnar Cc: Rik van Riel , Mel Gorman , Peter Zijlstra , Naoya Horiguchi , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Wanpeng Li commit 7851a45cd3 (mm: numa: Copy cpupid on page migration) copy over the cpupid at page migration time, there is unnecessary to set it again in function migrate_misplaced_transhuge_page, this patch fix it. Acked-by: Mel Gorman Reviewed-by: Rik van Riel Signed-off-by: Wanpeng Li --- mm/migrate.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/mm/migrate.c b/mm/migrate.c index bb94004..fdb70f7 100644 --- a/mm/migrate.c +++ b/mm/migrate.c @@ -1736,8 +1736,6 @@ int migrate_misplaced_transhuge_page(struct mm_struct *mm, if (!new_page) goto out_fail; - page_cpupid_xchg_last(new_page, page_cpupid_last(page)); - isolated = numamigrate_isolate_page(pgdat, page); if (!isolated) { put_page(new_page); -- 1.7.7.6 -- 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