lkml.org 
[lkml]   [2024]   [Apr]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: Re: [PATCH v3 2/4] virtio_balloon: introduce oom-kill invocations
From


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

\
 
 \ /
  Last update: 2024-05-27 17:57    [W:0.112 / U:0.988 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site