Re: [PATCH v4 16/21] VT-d: free all-empty page tables

2022-05-27 Thread Roger Pau Monné
On Fri, May 27, 2022 at 09:53:01AM +0200, Jan Beulich wrote: > On 27.05.2022 09:40, Jan Beulich wrote: > > On 20.05.2022 13:13, Roger Pau Monné wrote: > >> On Wed, May 18, 2022 at 12:26:03PM +0200, Jan Beulich wrote: > >>> On 10.05.2022 16:30, Roger Pau Monné wrote: > On Mon, Apr 25, 2022 at 1

Re: [PATCH v4 16/21] VT-d: free all-empty page tables

2022-05-27 Thread Jan Beulich
On 27.05.2022 09:40, Jan Beulich wrote: > On 20.05.2022 13:13, Roger Pau Monné wrote: >> On Wed, May 18, 2022 at 12:26:03PM +0200, Jan Beulich wrote: >>> On 10.05.2022 16:30, Roger Pau Monné wrote: On Mon, Apr 25, 2022 at 10:42:50AM +0200, Jan Beulich wrote: > @@ -837,9 +843,31 @@ static i

Re: [PATCH v4 16/21] VT-d: free all-empty page tables

2022-05-27 Thread Jan Beulich
On 20.05.2022 13:13, Roger Pau Monné wrote: > On Wed, May 18, 2022 at 12:26:03PM +0200, Jan Beulich wrote: >> On 10.05.2022 16:30, Roger Pau Monné wrote: >>> On Mon, Apr 25, 2022 at 10:42:50AM +0200, Jan Beulich wrote: @@ -837,9 +843,31 @@ static int dma_pte_clear_one(struct doma

Re: [PATCH v4 16/21] VT-d: free all-empty page tables

2022-05-20 Thread Roger Pau Monné
On Wed, May 18, 2022 at 12:26:03PM +0200, Jan Beulich wrote: > On 10.05.2022 16:30, Roger Pau Monné wrote: > > On Mon, Apr 25, 2022 at 10:42:50AM +0200, Jan Beulich wrote: > >> @@ -837,9 +843,31 @@ static int dma_pte_clear_one(struct doma > >> > >> old = *pte; > >> dma_clear_pte(*pte);

RE: [PATCH v4 16/21] VT-d: free all-empty page tables

2022-05-19 Thread Tian, Kevin
> From: Jan Beulich > Sent: Wednesday, May 18, 2022 6:26 PM > > On 10.05.2022 16:30, Roger Pau Monné wrote: > > On Mon, Apr 25, 2022 at 10:42:50AM +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 highe

Re: [PATCH v4 16/21] VT-d: free all-empty page tables

2022-05-18 Thread Jan Beulich
On 10.05.2022 16:30, Roger Pau Monné wrote: > On Mon, Apr 25, 2022 at 10:42:50AM +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 16/21] VT-d: free all-empty page tables

2022-05-10 Thread Roger Pau Monné
On Mon, Apr 25, 2022 at 10:42:50AM +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

RE: [PATCH v4 16/21] VT-d: free all-empty page tables

2022-04-26 Thread Tian, Kevin
> From: Jan Beulich > Sent: Monday, April 25, 2022 4:43 PM > > 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