From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pb0-f47.google.com (mail-pb0-f47.google.com [209.85.160.47]) by kanga.kvack.org (Postfix) with ESMTP id 315F56B003A for ; Tue, 10 Dec 2013 19:50:21 -0500 (EST) Received: by mail-pb0-f47.google.com with SMTP id um1so8792372pbc.34 for ; Tue, 10 Dec 2013 16:50:20 -0800 (PST) Received: from e28smtp04.in.ibm.com (e28smtp04.in.ibm.com. [122.248.162.4]) by mx.google.com with ESMTPS id qz9si11835399pab.249.2013.12.10.16.50.18 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 10 Dec 2013 16:50:19 -0800 (PST) Received: from /spool/local by e28smtp04.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 11 Dec 2013 06:20:16 +0530 Received: from d28relay01.in.ibm.com (d28relay01.in.ibm.com [9.184.220.58]) by d28dlp01.in.ibm.com (Postfix) with ESMTP id A7AC3E0056 for ; Wed, 11 Dec 2013 06:22:33 +0530 (IST) Received: from d28av02.in.ibm.com (d28av02.in.ibm.com [9.184.220.64]) by d28relay01.in.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id rBB0o9Xv57082004 for ; Wed, 11 Dec 2013 06:20:10 +0530 Received: from d28av02.in.ibm.com (localhost [127.0.0.1]) by d28av02.in.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id rBB0oCCn020344 for ; Wed, 11 Dec 2013 06:20:13 +0530 From: Wanpeng Li Subject: [PATCH v5 4/8] sched/numa: fix set cpupid on page migration twice against normal page Date: Wed, 11 Dec 2013 08:49:57 +0800 Message-Id: <1386723001-25408-5-git-send-email-liwanp@linux.vnet.ibm.com> In-Reply-To: <1386723001-25408-1-git-send-email-liwanp@linux.vnet.ibm.com> References: <1386723001-25408-1-git-send-email-liwanp@linux.vnet.ibm.com> Sender: owner-linux-mm@kvack.org List-ID: To: Andrew Morton Cc: Ingo Molnar , 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. Reviewed-by: Naoya Horiguchi 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 b13e181..30ba8fb 100644 --- a/mm/migrate.c +++ b/mm/migrate.c @@ -1558,8 +1558,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