Re: [PATCH 3/4] xen/virtual-region: Link the list build time

2024-03-18 Thread Jan Beulich
On 18.03.2024 14:54, Andrew Cooper wrote: > On 18/03/2024 1:25 pm, Jan Beulich wrote: >> On 18.03.2024 12:04, Andrew Cooper wrote: >>> Given 3 statically initialised objects, its easy to link the list at build >>> time. There's no need to do it during runtime at boot (and with IRQs-off, >>>

Re: [PATCH 3/4] xen/virtual-region: Link the list build time

2024-03-18 Thread Andrew Cooper
On 18/03/2024 1:25 pm, Jan Beulich wrote: > On 18.03.2024 12:04, Andrew Cooper wrote: >> Given 3 statically initialised objects, its easy to link the list at build >> time. There's no need to do it during runtime at boot (and with IRQs-off, >> even). > Hmm, technically that's correct, but isn't

Re: [PATCH 3/4] xen/virtual-region: Link the list build time

2024-03-18 Thread Jan Beulich
On 18.03.2024 12:04, Andrew Cooper wrote: > Given 3 statically initialised objects, its easy to link the list at build > time. There's no need to do it during runtime at boot (and with IRQs-off, > even). Hmm, technically that's correct, but isn't the overall result more fragile, in being more

[PATCH 3/4] xen/virtual-region: Link the list build time

2024-03-18 Thread Andrew Cooper
Given 3 statically initialised objects, its easy to link the list at build time. There's no need to do it during runtime at boot (and with IRQs-off, even). As a consequence, register_virtual_region() can now move inside ifdef CONFIG_LIVEPATCH like unregister_virtual_region(). Signed-off-by: