Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp6916500ybe; Wed, 18 Sep 2019 11:09:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqxKwI7Vt6bQNPwF6BHe8iS73Ay+CqFmcJbTdJGBCBqdTQd3V37yzJ0+LSFEDek6LKv9jazW X-Received: by 2002:a17:906:1c03:: with SMTP id k3mr10585343ejg.32.1568830153583; Wed, 18 Sep 2019 11:09:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568830153; cv=none; d=google.com; s=arc-20160816; b=aW9xxsSuiqhQIPBDKG0g83W0NEG2fQF/AQRPXRk8c4b5sgrQ37WXr2VGfF7AR0wEKi bcBiu0F+yu3qKrXNdvxwUxS9uCQiAbT9ys4TTyyhkhLUD7QlhJiE6fCiaz+t1z/INLYZ 4RItrk0IBIJdKlBgKIzHd17lqEbDn4Y3zqyaJbl+vFln5q9PXowsVOXylLCTE+Oy9lML O/DRLVEiF4KpVsP45n70n773RQ3EG4qOO9DbmBWBhMz9ovV7isCUZAEe9eGU4QHt1WbI palJFIR5jP6LPecMdmQC33w1pEr64g5XKHvHHml2DshHVSJN1qB4ZZsxQIcMu4EnNXxQ nlCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=GMKHDgLJRyxgN0A867LigehAw/X7kP99urwp4XiviUU=; b=l4zDgheOZLHJlDV3jye9xld0g12tgjpaRs76tln45kTshqvutiLJ+ZTI/cu/He9xE5 cQSIJILFp0fgFLJ5ru5+qCeC80HUd64cp46gVxRNvsWHJ61LIOBtwjQ3HM8J/cN43aI/ XmicJRlTeiRFaxtV7PdFpmE5F8uhixS3JoO9pidfkh5h3QZMan7sT4OQJYEzMV1PGm8Q 2H9TaMdnLGD6xpqzg2UaglszZPOcJDOge8hAwR575KtHlhbLGceCQSSQ32TpV3DlkeP8 vCtxFjZH1SkufXzErNrgqLk8/HvWXzOLZq2mPwqhoFb0nIxL2iCI9cEUlyUzhK6sA/kd a0yw== ARC-Authentication-Results: i=1; mx.google.com; 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 e7si3571878edn.267.2019.09.18.11.08.49; Wed, 18 Sep 2019 11:09:13 -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; 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 S2387433AbfIRSFM (ORCPT + 99 others); Wed, 18 Sep 2019 14:05:12 -0400 Received: from mga04.intel.com ([192.55.52.120]:59253 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725899AbfIRSFM (ORCPT ); Wed, 18 Sep 2019 14:05:12 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Sep 2019 11:05:11 -0700 X-IronPort-AV: E=Sophos;i="5.64,521,1559545200"; d="scan'208";a="338407459" Received: from ahduyck-desk1.jf.intel.com ([10.7.198.76]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Sep 2019 11:05:10 -0700 Message-ID: <38429bdb416bdb33f3c7f740f903380af3129a36.camel@linux.intel.com> Subject: Re: [PATCH v10 5/6] virtio-balloon: Pull page poisoning config out of free page hinting From: Alexander Duyck To: "Michael S. Tsirkin" , Alexander Duyck Cc: virtio-dev@lists.oasis-open.org, kvm@vger.kernel.org, david@redhat.com, dave.hansen@intel.com, linux-kernel@vger.kernel.org, willy@infradead.org, mhocko@kernel.org, linux-mm@kvack.org, vbabka@suse.cz, akpm@linux-foundation.org, mgorman@techsingularity.net, linux-arm-kernel@lists.infradead.org, osalvador@suse.de, yang.zhang.wz@gmail.com, pagupta@redhat.com, konrad.wilk@oracle.com, nitesh@redhat.com, riel@surriel.com, lcapitulino@redhat.com, wei.w.wang@intel.com, aarcange@redhat.com, pbonzini@redhat.com, dan.j.williams@intel.com Date: Wed, 18 Sep 2019 11:05:10 -0700 In-Reply-To: <20190918135833-mutt-send-email-mst@kernel.org> References: <20190918175109.23474.67039.stgit@localhost.localdomain> <20190918175305.23474.34783.stgit@localhost.localdomain> <20190918135833-mutt-send-email-mst@kernel.org> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.5 (3.30.5-1.fc29) 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 Wed, 2019-09-18 at 13:58 -0400, Michael S. Tsirkin wrote: > On Wed, Sep 18, 2019 at 10:53:05AM -0700, Alexander Duyck wrote: > > From: Alexander Duyck > > > > Currently the page poisoning setting wasn't being enabled unless free page > > hinting was enabled. However we will need the page poisoning tracking logic > > as well for unused page reporting. As such pull it out and make it a > > separate bit of config in the probe function. > > > > In addition we can actually wrap the code in a check for NO_SANITY. If we > > don't care what is actually in the page we can just default to 0 and leave > > it there. > > > > Reviewed-by: David Hildenbrand > > Signed-off-by: Alexander Duyck > > I think this one can go in directly. Do you want me to merge it now? That sounds good to me. Do you know if you can also pull in QEMU 1/3 into QEMU as well since the feature wasn't pulled into QEMU originally? https://lore.kernel.org/lkml/20190918175342.23606.12400.stgit@localhost.localdomain/ Thanks. - Alex