Message ID | 20191205162422.19737.57728.stgit@localhost.localdomain (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=8yH2=Z3=kvack.org=owner-linux-mm@kernel.org> Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 268A913A4 for <patchwork-linux-mm@patchwork.kernel.org>; Thu, 5 Dec 2019 16:24:28 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id E659324648 for <patchwork-linux-mm@patchwork.kernel.org>; Thu, 5 Dec 2019 16:24:27 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="MoDAOdDL" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E659324648 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 3EE8D6B1113; Thu, 5 Dec 2019 11:24:27 -0500 (EST) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 39F006B1114; Thu, 5 Dec 2019 11:24:27 -0500 (EST) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 28E286B1115; Thu, 5 Dec 2019 11:24:27 -0500 (EST) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0137.hostedemail.com [216.40.44.137]) by kanga.kvack.org (Postfix) with ESMTP id 147916B1113 for <linux-mm@kvack.org>; Thu, 5 Dec 2019 11:24:27 -0500 (EST) Received: from smtpin17.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with SMTP id C88C3181AEF2A for <linux-mm@kvack.org>; Thu, 5 Dec 2019 16:24:26 +0000 (UTC) X-FDA: 76231610532.17.cub73_9aa9f5ef0e03 X-Spam-Summary: 2,0,0,8282ead388b3f0e0,d41d8cd98f00b204,alexander.duyck@gmail.com,:virtio-dev@lists.oasis-open.org:kvm@vger.kernel.org:mst@redhat.com:linux-kernel@vger.kernel.org:willy@infradead.org:mhocko@kernel.org::akpm@linux-foundation.org:mgorman@techsingularity.net:vbabka@suse.cz: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:alexander.h.duyck@linux.intel.com:osalvador@suse.de,RULES_HIT:41:152:355:379:960:966:973:988:989:1260:1277:1311:1313:1314:1345:1359:1431:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2196:2199:2393:2559:2562:3138:3139:3140:3141:3142:3352:3865:3866:3867:3868:3870:3871:4250:4321:4385:5007:6119:6261:6653:6742:7576:7903:8603:9413:10004:10400:11026:11473:11658:11914:12043:12048:12297:12438:12517:12519:12555:12679:12760:13069:13255:13311 :13357:1 X-HE-Tag: cub73_9aa9f5ef0e03 X-Filterd-Recvd-Size: 4615 Received: from mail-qk1-f194.google.com (mail-qk1-f194.google.com [209.85.222.194]) by imf28.hostedemail.com (Postfix) with ESMTP for <linux-mm@kvack.org>; Thu, 5 Dec 2019 16:24:26 +0000 (UTC) Received: by mail-qk1-f194.google.com with SMTP id x1so3776313qkl.12 for <linux-mm@kvack.org>; Thu, 05 Dec 2019 08:24:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:from:to:cc:date:message-id:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=VitjQQFQG7H0A5JYqbYhHy/YWDiYO6QESupJyX3H62U=; b=MoDAOdDLiXkd2mmrv89OI8/1XQi/spAoBOcO0B90RXtvWez6nZ2Vw/gw5fhMl6hy23 tX7wmDr4PeDibNua9+HL3ONCbzZXQzsBPy/nVc1JEdHw74+q1h6/e3bk1WJfJ5sDH9Cz nC2XlOnYNdfjU3BNBE4Jd25qXkmn4Q97ryT5gKoxSMeojdRtJ7X6Hfc2l6/wj3UAqz2y XdZN2SduJvSVlGQ2oG9a0kPGzmshnNgkU6C2TnxkG3ado6v7whAS3xDKqQvqtf57HnTy gM51eMIcSVlXbhJyJUy7VYyErZbCCJb5EsWbecOoq/oaRirDWRXKDHrMlndpN0Fpj0tp EzFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:cc:date:message-id:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=VitjQQFQG7H0A5JYqbYhHy/YWDiYO6QESupJyX3H62U=; b=UTga6TmNF9tUdvdVGc/rgkb3OZ5hCkjfahNcVm3ccOWOgF+EHpIqwwIo6W9XFPBPVF evh6bR8hyKeJcOfRt0pgBSfWYA5GqTld+MecglvTjJ8j4lhMQVxT0SdFU4IkLPZlfmtd 9fyKDrxUnPXeivxfONV0VcvaKe4eDXg6IKqnyQfUAl6CXQbbu4i9//RYBfJ96iPV374k 7LiF1bG4Q+vhtQrawIjrcQS/M02kLiR3qbs0UUB9bODOeiqewFBTbmkfGflQiKelkjwH 2Gztx50bdd+xwQLUsuCSgc6yFE0W90/rNDXzK33B5p8hyPrdGNl97KMRhGz2617WBRui cSRw== X-Gm-Message-State: APjAAAVDkb8x6YG8/OGdUGHXpBZBtTYr74P4QVx3hOO3ybAGeJpmdKA5 0VmFmImEyymgfcZcpj3W51g= X-Google-Smtp-Source: APXvYqwbhhV9N6SY1MyzCV7zGOyh0Ck15qjiRFB99mBVTj/3p1/lpntOgFfoR4xVFUGQs+b4j2ihug== X-Received: by 2002:a05:620a:100d:: with SMTP id z13mr9428194qkj.475.1575563065667; Thu, 05 Dec 2019 08:24:25 -0800 (PST) Received: from localhost.localdomain ([2001:470:b:9c3:9e5c:8eff:fe4f:f2d0]) by smtp.gmail.com with ESMTPSA id 17sm5111246qkk.81.2019.12.05.08.24.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Dec 2019 08:24:25 -0800 (PST) Subject: [PATCH v15 QEMU 2/3] virtio-balloon: Add bit to notify guest of unused page reporting From: Alexander Duyck <alexander.duyck@gmail.com> To: virtio-dev@lists.oasis-open.org, 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, alexander.h.duyck@linux.intel.com, osalvador@suse.de Date: Thu, 05 Dec 2019 08:24:22 -0800 Message-ID: <20191205162422.19737.57728.stgit@localhost.localdomain> In-Reply-To: <20191205161928.19548.41654.stgit@localhost.localdomain> References: <20191205161928.19548.41654.stgit@localhost.localdomain> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> |
Series |
None
|
expand
|
diff --git a/include/standard-headers/linux/virtio_balloon.h b/include/standard-headers/linux/virtio_balloon.h index 9375ca2a70de..1c5f6d6f2de6 100644 --- a/include/standard-headers/linux/virtio_balloon.h +++ b/include/standard-headers/linux/virtio_balloon.h @@ -36,6 +36,7 @@ #define VIRTIO_BALLOON_F_DEFLATE_ON_OOM 2 /* Deflate balloon on OOM */ #define VIRTIO_BALLOON_F_FREE_PAGE_HINT 3 /* VQ to report free pages */ #define VIRTIO_BALLOON_F_PAGE_POISON 4 /* Guest is using page poisoning */ +#define VIRTIO_BALLOON_F_REPORTING 5 /* Page reporting virtqueue */ /* Size of a PFN in the balloon interface. */ #define VIRTIO_BALLOON_PFN_SHIFT 12