From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pb0-f48.google.com (mail-pb0-f48.google.com [209.85.160.48]) by kanga.kvack.org (Postfix) with ESMTP id C31866B009B for ; Tue, 10 Dec 2013 04:19:58 -0500 (EST) Received: by mail-pb0-f48.google.com with SMTP id md12so7234330pbc.7 for ; Tue, 10 Dec 2013 01:19:58 -0800 (PST) Received: from e23smtp08.au.ibm.com (e23smtp08.au.ibm.com. [202.81.31.141]) by mx.google.com with ESMTPS id fn9si9884154pab.232.2013.12.10.01.19.54 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 10 Dec 2013 01:19:56 -0800 (PST) Received: from /spool/local by e23smtp08.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 10 Dec 2013 19:19:51 +1000 Received: from d23relay05.au.ibm.com (d23relay05.au.ibm.com [9.190.235.152]) by d23dlp03.au.ibm.com (Postfix) with ESMTP id D7C1B3578050 for ; Tue, 10 Dec 2013 20:19:49 +1100 (EST) Received: from d23av01.au.ibm.com (d23av01.au.ibm.com [9.190.234.96]) by d23relay05.au.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id rBA91TGd12059092 for ; Tue, 10 Dec 2013 20:01:29 +1100 Received: from d23av01.au.ibm.com (localhost [127.0.0.1]) by d23av01.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id rBA9Jnn5027130 for ; Tue, 10 Dec 2013 20:19:49 +1100 From: Wanpeng Li Subject: [PATCH v4 07/12] sched/numa: fix set cpupid on page migration twice against normal page Date: Tue, 10 Dec 2013 17:19:30 +0800 Message-Id: <1386667175-19952-7-git-send-email-liwanp@linux.vnet.ibm.com> In-Reply-To: <1386667175-19952-1-git-send-email-liwanp@linux.vnet.ibm.com> References: <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 alloc_misplaced_dst_page, this patch fix it. 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 b1b6663..508cde4 100644 --- a/mm/migrate.c +++ b/mm/migrate.c @@ -1557,8 +1557,6 @@ static struct page *alloc_misplaced_dst_page(struct page *page, __GFP_NOMEMALLOC | __GFP_NORETRY | __GFP_NOWARN) & ~GFP_IOFS, 0); - if (newpage) - page_cpupid_xchg_last(newpage, page_cpupid_last(page)); return newpage; } -- 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