[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2] memory: Optimize replay of guest mapping
From: |
Peter Xu |
Subject: |
Re: [PATCH v2] memory: Optimize replay of guest mapping |
Date: |
Wed, 15 Feb 2023 09:46:13 -0500 |
On Wed, Feb 15, 2023 at 02:52:38PM +0800, Zhenzhong Duan wrote:
> On x86, there are two notifiers registered due to vtd-ir memory region
> splitting the whole address space. During replay of the address space
> for each notifier, the whole address space is scanned which is
> unnecessory.
>
> We only need to scan the space belong to notifier montiored space.
>
> Assert when notifier is used to monitor beyond iommu memory region's
> address space.
>
> Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Acked-by: Peter Xu <peterx@redhat.com>
--
Peter Xu