[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 0/5] monitor: throttle VSERPORT_CHANGED by "i
From: |
Marc-André Lureau |
Subject: |
Re: [Qemu-devel] [PATCH v2 0/5] monitor: throttle VSERPORT_CHANGED by "id" |
Date: |
Wed, 23 Sep 2015 11:51:26 +0200 |
ping
On Thu, Sep 17, 2015 at 6:08 PM, <address@hidden> wrote:
> From: Marc-André Lureau <address@hidden>
>
> QAPI_EVENT_VSERPORT_CHANGE reports changes of a virtio serial port
> state. However, the events may be for different ports, but the throttle
> mechanism may replace the event for a different port, since it only
> checks the event type.
>
> The following series implements throttling of events based on the "id"
> field. Hopefully this hash table approach can be later extended if
> other fields or combination of fields have to be used.
>
> v1->v2:
> - split first patch in 2 to ease review
> - remove some extra space
> - add some comments above delay handler function, and struct fields
> - rename the delay handler data "delay_data"
> - add a trace in monitor_protocol_event_delay()
> - improve some commit messages
> - simplify monitor_qapi_event_delay()
> - add some comment assert code in monitor_qapi_event_id_delay() to
> ensure the given pending struct is valid
> - fixed hashtable key leak
> - rename qdict "data" argument to "qdict"
> - removed superfluous parenthesis
> - use a single timer handler for doing "id" filtering cleanup
>
> Marc-André Lureau (5):
> monitor: split MonitorQAPIEventState
> monitor: introduce MonitorQAPIEventDelay callback
> monitor: rename QDict *data->qdict
> monitor: throttle QAPI_EVENT_VSERPORT_CHANGE by "id"
> monitor: remove old entries from event hash table
>
> monitor.c | 256
> ++++++++++++++++++++++++++++++++++++++++++++++-------------
> trace-events | 3 +-
> 2 files changed, 203 insertions(+), 56 deletions(-)
>
> --
> 2.4.3
>
--
Marc-André Lureau
- [Qemu-devel] [PATCH v2 1/5] monitor: split MonitorQAPIEventState, (continued)
- [Qemu-devel] [PATCH v2 1/5] monitor: split MonitorQAPIEventState, marcandre . lureau, 2015/09/17
- [Qemu-devel] [PATCH v2 2/5] monitor: introduce MonitorQAPIEventDelay callback, marcandre . lureau, 2015/09/17
- [Qemu-devel] [PATCH v2 4/5] monitor: throttle QAPI_EVENT_VSERPORT_CHANGE by "id", marcandre . lureau, 2015/09/17
- [Qemu-devel] [PATCH v2 3/5] monitor: rename QDict *data->qdict, marcandre . lureau, 2015/09/17
- [Qemu-devel] [PATCH v2 5/5] monitor: remove old entries from event hash table, marcandre . lureau, 2015/09/17
- Re: [Qemu-devel] [PATCH v2 0/5] monitor: throttle VSERPORT_CHANGED by "id",
Marc-André Lureau <=