[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH for-4.11] x86/XPTI: Fix up stale comments concerning mappings
>>> On 25.05.18 at 12:52, <andrew.cooper3@xxxxxxxxxx> wrote: > --- 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; I don't understand this removal - common_pgt still is used to map the stubs. It is just that the addition of the leaf entry for the stub space now happens later. If you really want to change it, how about "One-time setup of common_pgt and its .text.entry mappings"? > @@ -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. */ Just for my own education: Back in school (i.e. quite long ago) I had been told that in such enumerations - specifically other than in German - a comma also belongs right ahead of the "and". Is that not the case anymore nowadays? Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |