From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3880DC43603 for ; Thu, 12 Dec 2019 23:47:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 13AD12173E for ; Thu, 12 Dec 2019 23:47:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731391AbfLLXrU (ORCPT ); Thu, 12 Dec 2019 18:47:20 -0500 Received: from mga05.intel.com ([192.55.52.43]:18520 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726427AbfLLXrT (ORCPT ); Thu, 12 Dec 2019 18:47:19 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Dec 2019 15:47:19 -0800 X-IronPort-AV: E=Sophos;i="5.69,307,1571727600"; d="scan'208";a="216278692" Received: from ahduyck-desk1.jf.intel.com ([10.7.198.76]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Dec 2019 15:47:18 -0800 Message-ID: Subject: Re: [PATCH v15 0/7] mm / virtio: Provide support for free page reporting From: Alexander Duyck To: Alexander Duyck , kvm@vger.kernel.org, mst@redhat.com, linux-kernel@vger.kernel.org, willy@infradead.org, mhocko@kernel.org, linux-mm@kvack.org, akpm@linux-foundation.org, mgorman@techsingularity.net, vbabka@suse.cz Cc: yang.zhang.wz@gmail.com, nitesh@redhat.com, konrad.wilk@oracle.com, david@redhat.com, pagupta@redhat.com, riel@surriel.com, lcapitulino@redhat.com, dave.hansen@intel.com, wei.w.wang@intel.com, aarcange@redhat.com, pbonzini@redhat.com, dan.j.williams@intel.com, osalvador@suse.de Date: Thu, 12 Dec 2019 15:47:18 -0800 In-Reply-To: <20191205161928.19548.41654.stgit@localhost.localdomain> References: <20191205161928.19548.41654.stgit@localhost.localdomain> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.32.5 (3.32.5-1.fc30) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2019-12-05 at 08:22 -0800, Alexander Duyck wrote: > This series provides an asynchronous means of reporting free guest pages > to a hypervisor so that the memory associated with those pages can be > dropped and reused by other processes and/or guests on the host. Using > this it is possible to avoid unnecessary I/O to disk and greatly improve > performance in the case of memory overcommit on the host. > Changes from v14: > https://lore.kernel.org/lkml/20191119214454.24996.66289.stgit@localhost.localdomain/ > Renamed "unused page reporting" to "free page reporting" > Updated code, kconfig, and patch descriptions > Split out patch for __free_isolated_page > Renamed function to __putback_isolated_page > Rewrote core reporting functionality > Added logic to reschedule worker in 2 seconds instead of run to completion > Removed reported_pages statistics > Removed REPORTING_REQUESTED bit used in zone flags > Replaced page_reporting_dev_info refcount with state variable > Removed scatterlist from page_reporting_dev_info > Removed capacity from page reporting device > Added dynamic scatterlist allocation/free at start/end of reporting process > Updated __free_one_page so that reported pages are not always added to tail > Added logic to handle error from report function > Updated virtio-balloon patch that adds support for page reporting > Updated patch description to try and highlight differences in approaches > Updated logic to reflect that we cannot limit the scatterlist from device > Added logic to return error from report function > Moved documentation patch to end of patch set It has been about a week since I posted v15 and haven't heard anything. Consider this a gentle ping. I'm looking for input on patches 3 and 4 in this set as I updated them to address most of the concerns Mel had. Just wondering if the set needs additional work or if we are good with this as a starting point for this feature? Thanks. - Alex