Re: [PATCH v4 15/21] AMD/IOMMU: free all-empty page tables

2022-05-18 Thread Jan Beulich
On 10.05.2022 15:30, Roger Pau Monné wrote: > On Mon, Apr 25, 2022 at 10:42:19AM +0200, Jan Beulich wrote: >> When a page table ends up with no present entries left, it can be >> replaced by a non-present entry at the next higher level. The page table >> itself can then be scheduled for freeing. >>

Re: [PATCH v4 15/21] AMD/IOMMU: free all-empty page tables

2022-05-10 Thread Roger Pau Monné
On Mon, Apr 25, 2022 at 10:42:19AM +0200, Jan Beulich wrote: > When a page table ends up with no present entries left, it can be > replaced by a non-present entry at the next higher level. The page table > itself can then be scheduled for freeing. > > Note that while its output isn't used there ye

[PATCH v4 15/21] AMD/IOMMU: free all-empty page tables

2022-04-25 Thread Jan Beulich
When a page table ends up with no present entries left, it can be replaced by a non-present entry at the next higher level. The page table itself can then be scheduled for freeing. Note that while its output isn't used there yet, pt_update_contig_markers() right away needs to be called in all plac