RE: [PATCH 1/2] VT-d: install sync_cache hook on demand

2020-07-16 Thread Tian, Kevin
> From: Jan Beulich > Sent: Wednesday, July 15, 2020 6:04 PM > > Instead of checking inside the hook whether any non-coherent IOMMUs are > present, simply install the hook only when this is the case. > > To prove that there are no other references to the now dynamically > updated ops structure (

Re: [PATCH 1/2] VT-d: install sync_cache hook on demand

2020-07-16 Thread Roger Pau Monné
On Thu, Jul 16, 2020 at 12:25:40PM +0200, Jan Beulich wrote: > On 16.07.2020 12:14, Roger Pau Monné wrote: > > On Wed, Jul 15, 2020 at 12:03:57PM +0200, Jan Beulich wrote: > >> Instead of checking inside the hook whether any non-coherent IOMMUs are > >> present, simply install the hook only when th

Re: [PATCH 1/2] VT-d: install sync_cache hook on demand

2020-07-16 Thread Jan Beulich
On 16.07.2020 12:14, Roger Pau Monné wrote: > On Wed, Jul 15, 2020 at 12:03:57PM +0200, Jan Beulich wrote: >> Instead of checking inside the hook whether any non-coherent IOMMUs are >> present, simply install the hook only when this is the case. >> >> To prove that there are no other references to

Re: [PATCH 1/2] VT-d: install sync_cache hook on demand

2020-07-16 Thread Roger Pau Monné
On Wed, Jul 15, 2020 at 12:03:57PM +0200, Jan Beulich wrote: > Instead of checking inside the hook whether any non-coherent IOMMUs are > present, simply install the hook only when this is the case. > > To prove that there are no other references to the now dynamically > updated ops structure (and