[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC PATCH 1/2] xen/memory : Add stats_table resource type
- To: Jan Beulich <jbeulich@xxxxxxxx>
- From: George Dunlap <George.Dunlap@xxxxxxxxxx>
- Date: Wed, 22 Jun 2022 10:05:25 +0000
- Accept-language: en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=vHATz9a3VeiG49wv5gpmGPDG42GsV2Sg+b6A3HVOMCw=; b=OKLYoWPd5bgMQMBIFBXwuxY0H/0JxKUPPJRVR9gsKf1rem4fhT701j8Tfsau4ZC9kycZUFNuNgUJTFSun1h+Dw6UMwKaL3pPPVjtfmI57Yh5o2DdroBX3CbPurleXM8iLP34RJXU6UCUP6cgMEMb2T5DdWpoJeAfea2qX2Y7h+ApAnrse2sTecvKPXoXhJMwVx+2sd7/I5wc4Yu4Dx3TtOhqSp8C3AmKbQKILFxtHFqZUzVew0UG1f8f97+kiig1s+g7Sdy+0CVO+i/bw62uso0qaVKSJPAFaYqq/GXHYNsKsIi5TmiF3pi5dqtSMnleqAZCDKglB6E2e4EuDvspdg==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZH6IcRsEFboGKSxQKjaf37P+W8F0cPxmZTQl7Vy3XKvsIcdjC2PC/qVlNSlWTO7pjeeBgP2hDI4t2NrST/Q5uGOOFBXwuQF8UC9VbT3yg1d2wGEdW8EpvwAt4xnrvj/+O5rxB2LtNhZRc2/Ya3QN/3aKKr61f4XogLuyZlzNc3UD8GN4o/0P8hzQAHUms0hOW4XqrsImwSHwaoPXwOvZYB11nSieqIk+KYaVixZn2650Ry5OQFCg1YweUM7fKIctc3jYoPx/arntD8zlVzBAp1J+N6t9D5/molwyHnLZczXdRsMYxTaA23g6djzW1t71QRnEopoyfy6MLLo5vEHNcw==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
- Cc: Matias Ezequiel Vara Larsen <matiasevara@xxxxxxxxx>, Matias Ezequiel Vara Larsen <matias.vara@xxxxxxxx>, Andrew Cooper <Andrew.Cooper3@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Dario Faggioli <dfaggioli@xxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- Delivery-date: Wed, 22 Jun 2022 10:05:42 +0000
- Ironport-data: A9a23:Chsj3ajLEbigULqxqTFjFlbgX161KBAKZh0ujC45NGQN5FlGYwSy9 lOraxnFY6jUMyawOYxoOc7lxf41yZPUndM1TAU5rSoyFStB9cGaDtqSdBusNCrPcJTOEk4+t c8TNdeeIcllHibX+0z0auDrpyl3j/nRG+SlAr+UZHkZqWOIMMsEoUsLd7kR3t446TTAPz6wh D/SnyH+EAH51jUoY2lEsvqIpB0+7f2o5j8RsgFhbP4WsFOOznIbXc4Tfa2/ESD1E9JedgKYq 0cv710bEkfxpUpF5gaNy+6jGqEyaueOe1DI0BK6YoD66vR4jnVaPp0TabxNMy+7tx3Tx4ork IsX78TqIesUFvakdNo1AkEw/x5WZcWqyJefSZRomZXOp6FuWyKEL8RGVCnaD6VBkgpEKTgmG cgjACIMdni+a9eem9pXfAXOavMLd6EHNKtH0p1pIKqw4fwOGfgvSI2SjTNUMatZammj0p8ya uJAAQeDYigsbDViBA4QJo0ut9un3GvGQjZClA2slKc4tj27IAxZiNABMfLzU/nSGYB5uxjdo WjLuWPkHhsdKdqTjyKf9W6h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6RgA/ppe7r9NkXdBRbXdG6CK1XuE68Kf3rLtp7s+b0woPqnfZQZpaFC76 gpkGkowVLaV3ieefFmhqc7gywlaF/NLgjF24VZ+4VzvKH6Sf7iLTCDIWpe5vednw==
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
- Thread-index: AQHYafsc/WlHBvFB/kqWUrR4CBI56K1bWOUAgAASTQA=
- Thread-topic: [RFC PATCH 1/2] xen/memory : Add stats_table resource type
> On 22 Jun 2022, at 09:59, Jan Beulich <jbeulich@xxxxxxxx> wrote:
>
[snip]
> In general I also have to admit that I'm not sure the exposed data really
> qualifies as a "resource", and hence I'm not really convinced of your use
> of the resource mapping interface as a vehicle.
I’m not sure if I’d call any of the things currently mappable via that
interface (ioreq pages, vmcall buffers, etc) “resources”. I’m not sure why the
name was chosen, except perhaps that it was meant to be a more generalized form
of “page” or “pages".
The alternate is to try to plumb through a new ad-hoc hypercall. Andy
suggested Matias use this interface specifically to avoid having to do that;
and it sounds like he believes the interface was designed specifically for this
kind of thing.
-George
Attachment:
signature.asc
Description: Message signed with OpenPGP
|