Re: [Xen-devel] [PATCH v6 2/9] xen/x86: add a function for modifying cr3

2018-04-10 Thread Jan Beulich
>>> On 10.04.18 at 09:58, wrote: > Instead of having multiple places with more or less identical asm > statements just have one function doing a write to cr3. > > As this function should be named write_cr3() rename the current > write_cr3() function to switch_cr3(). > >

[Xen-devel] [PATCH v6 2/9] xen/x86: add a function for modifying cr3

2018-04-10 Thread Juergen Gross
Instead of having multiple places with more or less identical asm statements just have one function doing a write to cr3. As this function should be named write_cr3() rename the current write_cr3() function to switch_cr3(). Suggested-by: Andrew Copper Signed-off-by: