Re: [PATCH 3/8] x86/paging: move update_paging_modes() hook

2023-01-05 Thread Andrew Cooper
On 22/12/2022 8:00 am, Jan Beulich wrote: > On 21.12.2022 18:43, Andrew Cooper wrote: >> On 21/12/2022 1:25 pm, Jan Beulich wrote: >>> The hook isn't mode dependent, hence it's misplaced in struct >>> paging_mode. (Or alternatively I see no reason why the alloc_page() and >>> free_page() hooks

Re: [PATCH 3/8] x86/paging: move update_paging_modes() hook

2022-12-22 Thread Jan Beulich
On 21.12.2022 18:43, Andrew Cooper wrote: > On 21/12/2022 1:25 pm, Jan Beulich wrote: >> The hook isn't mode dependent, hence it's misplaced in struct >> paging_mode. (Or alternatively I see no reason why the alloc_page() and >> free_page() hooks don't also live there.) Move it to struct >>

Re: [PATCH 3/8] x86/paging: move update_paging_modes() hook

2022-12-21 Thread Andrew Cooper
On 21/12/2022 1:25 pm, Jan Beulich wrote: > The hook isn't mode dependent, hence it's misplaced in struct > paging_mode. (Or alternatively I see no reason why the alloc_page() and > free_page() hooks don't also live there.) Move it to struct > paging_domain. > > While there rename the hook and

[PATCH 3/8] x86/paging: move update_paging_modes() hook

2022-12-21 Thread Jan Beulich
The hook isn't mode dependent, hence it's misplaced in struct paging_mode. (Or alternatively I see no reason why the alloc_page() and free_page() hooks don't also live there.) Move it to struct paging_domain. While there rename the hook and HAP's as well as shadow's hook functions to use