|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH for-4.11] x86/XPTI: Fix up stale comments concerning mappings
The comments became stale when c/s d1d6fc97d66 "x86/xpti: really hide almost
all of Xen image" altered how the stubs were mapped.
Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
---
CC: Jan Beulich <JBeulich@xxxxxxxx>
CC: Juergen Gross <jgross@xxxxxxxx>
---
xen/arch/x86/smpboot.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/xen/arch/x86/smpboot.c b/xen/arch/x86/smpboot.c
index fd9050e..fcc383d 100644
--- a/xen/arch/x86/smpboot.c
+++ b/xen/arch/x86/smpboot.c
@@ -794,7 +794,7 @@ static int setup_cpu_root_pgt(unsigned int cpu)
/* SH_LINEAR_PT inserted together with guest mappings. */
/* PERDOMAIN inserted during context switch. */
- /* One-time setup of common_pgt, which maps .text.entry and the stubs. */
+ /* One-time setup of common_pgt, which maps .text.entry. */
if ( unlikely(!root_get_intpte(common_pgt)) )
{
const char *ptr;
@@ -811,7 +811,7 @@ static int setup_cpu_root_pgt(unsigned int cpu)
rpt[root_table_offset(XEN_VIRT_START)] = common_pgt;
- /* Install direct map page table entries for stack, IDT, and TSS. */
+ /* Install per-pcpu mappings for the stack, IDT, TSS and stubs. */
for ( off = rc = 0; !rc && off < STACK_SIZE; off += PAGE_SIZE )
if ( !memguard_is_stack_guard_page(off) )
rc = clone_mapping(__va(__pa(stack_base[cpu])) + off, rpt);
--
2.1.4
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |