From mboxrd@z Thu Jan 1 00:00:00 1970 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 > 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Li, Liang Z" Subject: RE: [RESEND PATCH v3 kernel 3/7] mm: add a function to get the max pfn 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> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT 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 To: "Hansen, Dave" , "mst@redhat.com" Return-path: In-Reply-To: <580E3C76.3010205@intel.com> Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org > 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f71.google.com (mail-pa0-f71.google.com [209.85.220.71]) by kanga.kvack.org (Postfix) with ESMTP id 08C3D6B0263 for ; Mon, 24 Oct 2016 21:24:56 -0400 (EDT) Received: by mail-pa0-f71.google.com with SMTP id gg9so20776367pac.6 for ; Mon, 24 Oct 2016 18:24:55 -0700 (PDT) Received: from mga14.intel.com (mga14.intel.com. [192.55.52.115]) by mx.google.com with ESMTPS id y63si18216463pfd.11.2016.10.24.18.24.55 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 24 Oct 2016 18:24:55 -0700 (PDT) From: "Li, Liang Z" Subject: RE: [RESEND PATCH v3 kernel 3/7] mm: add a function to get the max pfn 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> Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Sender: owner-linux-mm@kvack.org List-ID: 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 > 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. >=20 > 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 -- 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59200) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1byqU8-0006sd-80 for qemu-devel@nongnu.org; Mon, 24 Oct 2016 21:25:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1byqU4-0006Xw-AY for qemu-devel@nongnu.org; Mon, 24 Oct 2016 21:25:00 -0400 Received: from mga09.intel.com ([134.134.136.24]:34986) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1byqU4-0006XS-1u for qemu-devel@nongnu.org; Mon, 24 Oct 2016 21:24:56 -0400 From: "Li, Liang Z" 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> Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [Qemu-devel] [RESEND PATCH v3 kernel 3/7] mm: add a function to get the max pfn List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 > 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. >=20 > 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