From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f175.google.com (mail-pd0-f175.google.com [209.85.192.175]) by kanga.kvack.org (Postfix) with ESMTP id 916286B003D for ; Sun, 8 Dec 2013 01:15:19 -0500 (EST) Received: by mail-pd0-f175.google.com with SMTP id w10so3301196pde.20 for ; Sat, 07 Dec 2013 22:15:19 -0800 (PST) Received: from e28smtp09.in.ibm.com (e28smtp09.in.ibm.com. [122.248.162.9]) by mx.google.com with ESMTPS id e8si3358286pac.198.2013.12.07.22.15.16 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Sat, 07 Dec 2013 22:15:18 -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 ; Sun, 8 Dec 2013 11:45:14 +0530 Received: from d28relay02.in.ibm.com (d28relay02.in.ibm.com [9.184.220.59]) by d28dlp02.in.ibm.com (Postfix) with ESMTP id 6AADD394005B for ; Sun, 8 Dec 2013 11:45:11 +0530 (IST) Received: from d28av05.in.ibm.com (d28av05.in.ibm.com [9.184.220.67]) by d28relay02.in.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id rB86F0sf33554618 for ; Sun, 8 Dec 2013 11:45:01 +0530 Received: from d28av05.in.ibm.com (localhost [127.0.0.1]) by d28av05.in.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id rB86FAVY001063 for ; Sun, 8 Dec 2013 11:45:10 +0530 From: Wanpeng Li Subject: [PATCH v3 07/12] sched/numa: fix set cpupid on page migration twice against normal page Date: Sun, 8 Dec 2013 14:14:48 +0800 Message-Id: <1386483293-15354-7-git-send-email-liwanp@linux.vnet.ibm.com> In-Reply-To: <1386483293-15354-1-git-send-email-liwanp@linux.vnet.ibm.com> References: <1386483293-15354-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.5.4 -- 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