On 11.11.20 18:28, Paul Durrant wrote:
Hi Paul.
d->ioreq_server.server[id] = s;
+
+if ( s )
+d->ioreq_server.nr_servers++;
+else
+d->ioreq_server.nr_servers--;
}
#define GET_IOREQ_SERVER(d, id) \
diff --git a/xen/include/xen/ioreq.h
On 11.11.20 15:27, Jan Beulich wrote:
Hi Jan.
}
#define GET_IOREQ_SERVER(d, id) \
diff --git a/xen/include/xen/ioreq.h b/xen/include/xen/ioreq.h
index 7b03ab5..0679fef 100644
--- a/xen/include/xen/ioreq.h
+++ b/xen/include/xen/ioreq.h
@@ -55,6 +55,20 @@ struct ioreq_server {
Liu'
> ; 'Julien Grall'
> ; p...@xen.org; xen-devel@lists.xenproject.org
> Subject: Re: [PATCH V2 17/23] xen/ioreq: Introduce domain_has_ioreq_server()
>
> On 11.11.2020 09:41, Oleksandr wrote:
> >
> > On 11.11.20 10:08, Jan Beulich wrote:
> >
> > Hi Jan
> &g
ellini ;
>>>>> Julien Grall ; Volodymyr Babchuk
>>>>> ; Andrew Cooper
>>>>> ; George Dunlap ;
>>>>> Ian Jackson
>>>>> ; Jan Beulich ; Wei Liu
>>>>> ; Paul Durrant
>>>>> ; Julien Grall
>
: Oleksandr Tyshchenko ; Stefano Stabellini
;
Julien Grall ; Volodymyr Babchuk ;
Andrew Cooper
; George Dunlap ; Ian
Jackson
; Jan Beulich ; Wei Liu ;
Paul Durrant
; Julien Grall
Subject: [PATCH V2 17/23] xen/ioreq: Introduce domain_has_ioreq_server()
From: Oleksandr Tyshchenko
This patch
To: xen-devel@lists.xenproject.org
>>> Cc: Oleksandr Tyshchenko ; Stefano
>>> Stabellini ;
>>> Julien Grall ; Volodymyr Babchuk
>>> ; Andrew Cooper
>>> ; George Dunlap ; Ian
>>> Jackson
>>> ; Jan Beulich ; Wei Liu
>>>
Cooper
; George Dunlap ; Ian
Jackson
; Jan Beulich ; Wei Liu ;
Paul Durrant
; Julien Grall
Subject: [PATCH V2 17/23] xen/ioreq: Introduce domain_has_ioreq_server()
From: Oleksandr Tyshchenko
This patch introduces a helper the main purpose of which is to check
if a domain is using IOREQ server(s
kson
> ; Jan Beulich ; Wei Liu
> ; Paul Durrant
> ; Julien Grall
> Subject: [PATCH V2 17/23] xen/ioreq: Introduce domain_has_ioreq_server()
>
> From: Oleksandr Tyshchenko
>
> This patch introduces a helper the main purpose of which is to check
> if a domain is using IOR
From: Oleksandr Tyshchenko
This patch introduces a helper the main purpose of which is to check
if a domain is using IOREQ server(s).
On Arm the current benefit is to avoid calling handle_io_completion()
(which implies iterating over all possible IOREQ servers anyway)
on every return in