mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
iothread: add poll-grow and poll-shrink parameters
These parameters control the poll time self-tuning algorithm. They are optional and will default to sane values if omitted. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Message-id: 20161201192652.9509-14-stefanha@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
parent
82a4118694
commit
5e5db49953
2 changed files with 47 additions and 11 deletions
|
@ -31,6 +31,8 @@ typedef struct {
|
|||
|
||||
/* AioContext poll parameters */
|
||||
int64_t poll_max_ns;
|
||||
int64_t poll_grow;
|
||||
int64_t poll_shrink;
|
||||
} IOThread;
|
||||
|
||||
#define IOTHREAD(obj) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue