Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp14267ybe; Wed, 4 Sep 2019 14:12:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqznKeLMDFfX6cT2vD/MX+sOtyakr8u/CAxjskw2Qkhsh4OETtdkZCG+M4bmfe6fKtlhMvi4 X-Received: by 2002:a17:902:166:: with SMTP id 93mr26387334plb.320.1567631571314; Wed, 04 Sep 2019 14:12:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567631571; cv=none; d=google.com; s=arc-20160816; b=DfmzXhB2n2u5U1iAK1AzeNxx/HLt1/RpqtBpTN1j0iGcnfJdR5vDrIfYhwGKOuDM2i ik/CZ+AOCeAS4a7C8HgUNdeq7ObchNqHk0Pt+YNR7O44WbpnVDVyvADZEUbdjkIaWCNH XDnLn903OhaP/YSiNnWmVmRi/3yDjve8Mt3/xMC3L4TpKannde704tEtWLr1EZzrzJ4+ uuUucA5UzcNBarJoefLdSNQkgJE2Q2uKRQNpmaZmihX22+fYSFydzvJnnZW/fuCLJb+M 9eRDFAjRPO/Z54ZqEydy2Puxz5H/3A3d0fkZzJCuxf7McfNvHZ+YF/VhbXRoo/0mQeX7 kF8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=DOJXX029rLk7A9iwm08b8/Tl49pqEw9N8S7iikumjN8=; b=O7eQHe4I9sNXTTjFIUAN16JN5rdZ6/fRde1H9UzSy3IJmICzc4ojuNQDv+p25HOgog HT9ZpMP/3PMUUVtSLAyCb034+FDQFKz/d7hQHjgjjU+IcGeXq+ld8Uk06KFagFRlCmli XI1CWwkbRWueB8Ns5i7IyaoU1IA+FdJXe6gl8fuJsS1X02o3W/2z7Nik9Eq3/1/FHYoK pAaJFmzJCmbfA9libwMuXmP8lhHaZedz+ntus1csDsx0KBId4NhlL1B+AxMLq2SnNfR7 m5grEoNHC9DVngdqpB7jdyIiOBk1qG7bynmkLjikYJIj7eg8G4Yzq7w0oqsXyF8SL84u XvEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=V7EVPD+f; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 73si18586306pgg.72.2019.09.04.14.12.33; Wed, 04 Sep 2019 14:12:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=V7EVPD+f; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730733AbfIDVLS (ORCPT + 99 others); Wed, 4 Sep 2019 17:11:18 -0400 Received: from mail-ot1-f67.google.com ([209.85.210.67]:39509 "EHLO mail-ot1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730257AbfIDVLR (ORCPT ); Wed, 4 Sep 2019 17:11:17 -0400 Received: by mail-ot1-f67.google.com with SMTP id n7so14741786otk.6 for ; Wed, 04 Sep 2019 14:11:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=DOJXX029rLk7A9iwm08b8/Tl49pqEw9N8S7iikumjN8=; b=V7EVPD+fthp2Q80ZJwJy+hxX6duKEdu7/VTcx6YCk7q0HWNV0qSkz0sS9fajCv9YLt kZ7Fmdk++yNzXS4WboBmvS9IZXHfPN+px0XZmekfpGt0/v+IMmaJXO3lW9jhZA9ffiyC MPCKZ1ratNZUFYN5RMYbhqOF5wbt25Pw2FFNks7TFpiuxNqkYnlebEOfluG1zKezJgib 35GgMnC6P6PF2XOMZp8gk//4CUwUh0NXqzem0UlUM6zKjJEuBAaF0TdbOoTqwGnUr4OX hYqx6+7zIYDjo/zUUndobyd6up0UDtz1acNvOWuwmD906+9+y6Y7iiFn576BF/OZAfMP 457A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=DOJXX029rLk7A9iwm08b8/Tl49pqEw9N8S7iikumjN8=; b=bySXdx8qmoxAEYhJjabIYEB0ciN4bHPvZFGSXFWxa6wA++Y50AhNuMTWmkA9PzaRT+ vzNmW08jrxwjbdViXNeO2Pr6SGT22y7w1z8JCdHzsdpmHHVe9h0ouNF21vMcDw5ioLEq bWzwxhxXGqTXWWnnXbHguIV7cNK1415Qqf5PRE3hIS3dnekqfyU3DpHEER57BkheXkcw FaCnGleBSN0pkl0TqJ1JMZxZMy6DQSiEcOKT7pXwRwD1k0rKKiYbkDOFZgxp7IaSOa5E hsqzBkTT3ODa9OC2ZgH+eQdAg0jTEfUVfB4FXoFOO0/gXd587JHDHYyE+VhiEbO3RO47 EEgg== X-Gm-Message-State: APjAAAW/fG5yhFtT9QLBKcy3qcWcp7DosFQ6S2aMokYS3Ee4PhV+340l 6S1P83dCPoy5xyirz+UYNz8mB3VzEUnq3KPjxy5fWA== X-Received: by 2002:a9d:2642:: with SMTP id a60mr9252305otb.247.1567631476902; Wed, 04 Sep 2019 14:11:16 -0700 (PDT) MIME-Version: 1.0 References: <20190904150920.13848.32271.stgit@localhost.localdomain> <20190904151036.13848.36062.stgit@localhost.localdomain> In-Reply-To: <20190904151036.13848.36062.stgit@localhost.localdomain> From: Dan Williams Date: Wed, 4 Sep 2019 14:11:06 -0700 Message-ID: Subject: Re: [PATCH v7 2/6] mm: Move set/get_pcppage_migratetype to mmzone.h To: Alexander Duyck Cc: nitesh@redhat.com, KVM list , "Michael S. Tsirkin" , David Hildenbrand , Dave Hansen , Linux Kernel Mailing List , Matthew Wilcox , Michal Hocko , Linux MM , Andrew Morton , virtio-dev@lists.oasis-open.org, Oscar Salvador , yang.zhang.wz@gmail.com, Pankaj Gupta , Rik van Riel , Konrad Rzeszutek Wilk , lcapitulino@redhat.com, "Wang, Wei W" , Andrea Arcangeli , Paolo Bonzini , Alexander Duyck Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 4, 2019 at 8:11 AM Alexander Duyck wrote: > > From: Alexander Duyck > > In order to support page reporting it will be necessary to store and > retrieve the migratetype of a page. To enable that I am moving the set and > get operations for pcppage_migratetype into the mm/internal.h header so > that they can be used outside of the page_alloc.c file. > > Signed-off-by: Alexander Duyck Reviewed-by: Dan Williams