Message ID | 20191001153110.4422.81414.stgit@localhost.localdomain (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=79yC=X2=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 72BAE13BD for <patchwork-linux-mm@patchwork.kernel.org>; Tue, 1 Oct 2019 15:31:16 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 3F66E20842 for <patchwork-linux-mm@patchwork.kernel.org>; Tue, 1 Oct 2019 15:31:16 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="L5Twh0Jh" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3F66E20842 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 750F08E0006; Tue, 1 Oct 2019 11:31:15 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 7016F8E0001; Tue, 1 Oct 2019 11:31:15 -0400 (EDT) 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 5F0438E0006; Tue, 1 Oct 2019 11:31:15 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0215.hostedemail.com [216.40.44.215]) by kanga.kvack.org (Postfix) with ESMTP id 3BAA68E0001 for <linux-mm@kvack.org>; Tue, 1 Oct 2019 11:31:15 -0400 (EDT) Received: from smtpin17.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with SMTP id A0920180AD802 for <linux-mm@kvack.org>; Tue, 1 Oct 2019 15:31:14 +0000 (UTC) X-FDA: 75995604468.17.tail56_7f32bb465ae61 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:david@redhat.com:dave.hansen@intel.com:linux-kernel@vger.kernel.org:willy@infradead.org:mhocko@kernel.org::akpm@linux-foundation.org:mgorman@techsingularity.net:vbabka@suse.cz: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:alexander.h.duyck@linux.intel.com,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:6737:6742:7576:7903:8603:9413:10004:10400:11026:11473:11658:11914:12043:12048:12297:12438:12517:12519:12555:12679:12760:13069:13255: 13311:13 X-HE-Tag: tail56_7f32bb465ae61 X-Filterd-Recvd-Size: 4614 Received: from mail-pl1-f196.google.com (mail-pl1-f196.google.com [209.85.214.196]) by imf38.hostedemail.com (Postfix) with ESMTP for <linux-mm@kvack.org>; Tue, 1 Oct 2019 15:31:13 +0000 (UTC) Received: by mail-pl1-f196.google.com with SMTP id u12so5634679pls.12 for <linux-mm@kvack.org>; Tue, 01 Oct 2019 08:31:13 -0700 (PDT) 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=L5Twh0JhZGvdhXHXw1oaxNXeSNQCxXg+4kR8o8X1F1TzlD00uzAO3QGcQGeCH+pYyv eM9UzTiOoj4NhZ/y/SfE4biRkKz0cfZib7gcIwCdBqTO0mnj3MDDRzQ0MbZPocBM+B5h msJsxIMWdqcGBjoeyS0PE3+F5FIPQogg6c3lfPb8yAknZ2IT7jOdFrlCQjYDtCtMWPhl 4w7vbAU55orIiWGUYtYwdGgYBtWzc+mw27eRVFrAhrP6HZJdSIZmDr6LwANpN6U01hfj YkPCSsjAhoW6bmeFIjD638fXGmLVvvBI8kOBrNNBTD3nuHzYxjT+4gohPDBQIy3H/4oR +rjQ== 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=hXq9xpPesjlpzY5Ig/AwXj0Qn+Ljgl5vlowk+vmRERJYBZByEb4PPm3h1ger4xNOzl OQvb2yMs97EaW6A57MkUvx65fc4iodZXY4VgQvtC6W0WnkCSJ1ejKMZS/46QbfmKHxbI vR2OhrtI0//UTzgqxz/+547jjCswM6Uc7qd03oM461+4sCtpR73DiMQlFHGFNW7TFMsu x+VikHl6L8skIRZ2jAMLRiyMOv+Tl/hw66OaC/TR4looIoaZslCAd5CrlyfCFZrc1pnn zIJLUYiBR3j1mmnaPOUrc5az5oRZLKvJvF7Hv7gHbQbwlsA/I3iURELELOixDpdNJvq2 RQ/Q== X-Gm-Message-State: APjAAAX36v7VFjeL0yZDSOwm1xFnKfeWdAHdOJoO+Yd7Rb1Iibo3x3r3 hBQ/EBnugjb9A57HksaF0rA= X-Google-Smtp-Source: APXvYqzm4jBxzqNzEFwRHGBmE42pgOuyceYI3OqLlxS3hh8mqGpCUV/zK2gp1R2fYuXU9RD1oRP5gw== X-Received: by 2002:a17:902:82c8:: with SMTP id u8mr16796422plz.38.1569943872768; Tue, 01 Oct 2019 08:31:12 -0700 (PDT) Received: from localhost.localdomain ([2001:470:b:9c3:9e5c:8eff:fe4f:f2d0]) by smtp.gmail.com with ESMTPSA id c8sm20343042pga.42.2019.10.01.08.31.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 01 Oct 2019 08:31:12 -0700 (PDT) Subject: [PATCH v11 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, david@redhat.com, dave.hansen@intel.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, osalvador@suse.de Cc: 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, alexander.h.duyck@linux.intel.com Date: Tue, 01 Oct 2019 08:31:10 -0700 Message-ID: <20191001153110.4422.81414.stgit@localhost.localdomain> In-Reply-To: <20191001152441.27008.99285.stgit@localhost.localdomain> References: <20191001152441.27008.99285.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.000001, 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