[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: George Dunlap <George.Dunlap@xxxxxxxxxx>
- From: Jan Beulich <jbeulich@xxxxxxxx>
- Date: Wed, 22 Jun 2022 12:09:35 +0200
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.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=B7RrT7m0OtSEOmtV2jiIOQrTurbm5yswm9owuVzDt9w=; b=MPtdaFBVfRXyaslfuOSHXARNajMo0+yDK6DMiGnKfPVuYJIoLk78nUc7d3/LJfYbV27JYQUsfxR35YVxIFZ158Qh1wTpsFoLfMO7jj/52YwBYP49EZrNWYsdc4HKvN1kkUNzaW4divqp0aFe8JpEv0eWkT6GD0hZgTOAmW0c3BzuhSXYBfjeCd/nc/y1R4fjo/Xy9kXA/7xbwjNEf5KhUJmcmFp/L9t09xJjuE4NbKiVZ1gGzkQeYaFWeB59jUpFxpFfANYf5zHMyPQmuxJLlauFU/dOiKytmdoN4qYYjmDuLQJqdauccWlyJRPDLTrQ0cvQKwY4ZMc8zc361XBZYg==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cgQfUuQNbh1CL1tZp3T09EuchIOYxDmsYw5c8nobc9NeHhiPg7RcrqSPEU/flhW8GPqng/ift5v+3fuI63NWh6zQ1uqqPgl97Qp93SpDGJY+NCRUoVpiq1P2b/hFX05ztYBssUx22z0ur0+VgwhTCnbvxBteO11lnCzoItdsyZXxw63DUdL78HR4lsueqOt10xVvoYh/B/DcviaMgxjSkZp2An04f+J8zNmK5WHUZBQR10/Jz2B/zWkbJ7zrRvyIOvfppYcUecjVf3RKrBOSODpNBW3e5A3DQ7eoDdU3lwmIXpu/eFDcW0c7tgVdEYHSvtHKnZ+Tb/Y1tXayQ8fyOQ==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.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:09:53 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 22.06.2022 12:05, George Dunlap wrote:
>> 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.
Okay. I guess I wasn't aware of that suggestion.
Jan
|