RE: [PATCH 2/2] VT-d: use clear_page() in alloc_pgtable_maddr()

2020-07-16 Thread Tian, Kevin
> From: Jan Beulich > Sent: Wednesday, July 15, 2020 6:04 PM > > For full pages this is (meant to be) more efficient. Also change the > type and reduce the scope of the involved local variable. > > Signed-off-by: Jan Beulich Reviewed-by: Kevin Tian > > --- a/xen/drivers/passthrough/vtd/iomm

Re: [PATCH 2/2] VT-d: use clear_page() in alloc_pgtable_maddr()

2020-07-16 Thread Roger Pau Monné
On Wed, Jul 15, 2020 at 12:04:15PM +0200, Jan Beulich wrote: > For full pages this is (meant to be) more efficient. Also change the > type and reduce the scope of the involved local variable. > > Signed-off-by: Jan Beulich Reviewed-by: Roger Pau Monné Thanks.

[PATCH 2/2] VT-d: use clear_page() in alloc_pgtable_maddr()

2020-07-15 Thread Jan Beulich
For full pages this is (meant to be) more efficient. Also change the type and reduce the scope of the involved local variable. Signed-off-by: Jan Beulich --- a/xen/drivers/passthrough/vtd/iommu.c +++ b/xen/drivers/passthrough/vtd/iommu.c @@ -199,7 +199,6 @@ static void sync_cache(const void *add