Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S941138AbcJYBY5 convert rfc822-to-8bit (ORCPT ); Mon, 24 Oct 2016 21:24:57 -0400 Received: from mga05.intel.com ([192.55.52.43]:64715 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756439AbcJYBYz (ORCPT ); Mon, 24 Oct 2016 21:24:55 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,544,1473145200"; d="scan'208";a="1075173108" From: "Li, Liang Z" To: "Hansen, Dave" , "mst@redhat.com" CC: "linux-kernel@vger.kernel.org" , "virtualization@lists.linux-foundation.org" , "linux-mm@kvack.org" , "kvm@vger.kernel.org" , "qemu-devel@nongnu.org" , "quintela@redhat.com" , "dgilbert@redhat.com" , "pbonzini@redhat.com" , "cornelia.huck@de.ibm.com" , "amit.shah@redhat.com" , Andrew Morton , Mel Gorman Subject: RE: [RESEND PATCH v3 kernel 3/7] mm: add a function to get the max pfn Thread-Topic: [RESEND PATCH v3 kernel 3/7] mm: add a function to get the max pfn Thread-Index: AQHSLhcdnMFwYelVGUqSf25YdwCaYaC4YItg Date: Tue, 25 Oct 2016 01:24:47 +0000 Message-ID: References: <1477031080-12616-1-git-send-email-liang.z.li@intel.com> <1477031080-12616-4-git-send-email-liang.z.li@intel.com> <580E3C76.3010205@intel.com> In-Reply-To: <580E3C76.3010205@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMTE3YjQ0YjUtM2Y5YS00Y2E0LTkyMWMtNGJkZGQ3NDA3ZDgwIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IlpadjBZUEJDVzg3Z2RDQnF1b2w0ejRhWDI3NkNydTVJS1NjRUUxblZ4Y0E9In0= x-ctpclassification: CTP_IC x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 533 Lines: 13 > On 10/20/2016 11:24 PM, Liang Li wrote: > > Expose the function to get the max pfn, so it can be used in the > > virtio-balloon device driver. Simply include the 'linux/bootmem.h' > > is not enough, if the device driver is built to a module, directly > > refer the max_pfn lead to build failed. > > I'm not sure the rest of the set is worth reviewing. I think a lot of it will > change pretty fundamentally once you have those improved data structures > in place. That's true. I will send out the v4 as soon as possible. Liang