Messages in this thread | | | Date | Tue, 23 Apr 2024 17:21:48 +0800 | Subject | Re: Re: [PATCH v3 2/4] virtio_balloon: introduce oom-kill invocations | From | zhenwei pi <> |
| |
On 4/23/24 17:13, Michael S. Tsirkin wrote: > On Tue, Apr 23, 2024 at 11:41:07AM +0800, zhenwei pi wrote:
[snip] >> #define VIRTIO_BALLOON_S_NAMES_WITH_PREFIX(VIRTIO_BALLOON_S_NAMES_prefix) { \ >> VIRTIO_BALLOON_S_NAMES_prefix "swap-in", \ > > Looks like a useful extension. But > any UAPI extension has to go to virtio spec first. >
Sure, I'll send related virtio spec changes once virtio comment mail list gets ready.
>> @@ -83,7 +84,8 @@ struct virtio_balloon_config { >> VIRTIO_BALLOON_S_NAMES_prefix "available-memory", \ >> VIRTIO_BALLOON_S_NAMES_prefix "disk-caches", \ >> VIRTIO_BALLOON_S_NAMES_prefix "hugetlb-allocations", \ >> - VIRTIO_BALLOON_S_NAMES_prefix "hugetlb-failures" \ >> + VIRTIO_BALLOON_S_NAMES_prefix "hugetlb-failures", \ >> + VIRTIO_BALLOON_S_NAMES_prefix "oom-kills" \ >> } >> >> #define VIRTIO_BALLOON_S_NAMES VIRTIO_BALLOON_S_NAMES_WITH_PREFIX("") >> -- >> 2.34.1 >
-- zhenwei pi
| |