Skip to contentSkip to conversation

arch: x86: kernel: Adjust the words to suit sentences in the file vmlinux.lds.S

PATCH In review Bhaskar Chowdhury 2 participants 3 messages Mar 9, 2021 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arch: x86: kernel: Adjust the words to suit sentences in the file vmlinux.lds.S

s/percpu/per CPU/
s/baremetal/bare metal/

---
 arch/x86/kernel/vmlinux.lds.S | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/x86/kernel/vmlinux.lds.S +2 -2
index efd9e9ea17f2..592a44ad13b1 100644
@@ -217,7 +217,7 @@ SECTIONS
 
 #if defined(CONFIG_X86_64) && defined(CONFIG_SMP)
 	/*
-	 * percpu offsets are zero-based on SMP.  PERCPU_VADDR() changes the
+	 * per CPU offsets are zero-based on SMP.  PERCPU_VADDR() changes the
 	 * output PHDR, so the next output section - .init.text - should
 	 * start another segment - init.
 	 */
@@ -262,7 +262,7 @@ SECTIONS
 	/*
 	 * start address and size of operations which during runtime
 	 * can be patched with virtualization friendly instructions or
-	 * baremetal native ones. Think page table operations.
+	 * bare metal native ones. Think page table operations.
 	 * Details in paravirt_types.h
 	 */
 	. = ALIGN(8);

--
2.30.1

#1 lore raw
Quoted 6 lines · Bhaskar Chowdhury

s/percpu/per CPU/
s/baremetal/bare metal/

Yeah, "bare metal" is a little better than "baremetal".

OTOH, "percpu" is a kernel construct's name. It doesn't have to be proper English IMHO. (2 cents worth)

Quoted 27 lines
---
 arch/x86/kernel/vmlinux.lds.S | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/x86/kernel/vmlinux.lds.S +2 -3
index efd9e9ea17f2..592a44ad13b1 100644
@@ -217,7 +217,7 @@ SECTIONS
 
 #if defined(CONFIG_X86_64) && defined(CONFIG_SMP)
 	/*
-	 * percpu offsets are zero-based on SMP.  PERCPU_VADDR() changes the
+	 * per CPU offsets are zero-based on SMP.  PERCPU_VADDR() changes the
 	 * output PHDR, so the next output section - .init.text - should
 	 * start another segment - init.
 	 */
@@ -262,7 +262,7 @@ SECTIONS
 	/*
 	 * start address and size of operations which during runtime
 	 * can be patched with virtualization friendly instructions or
-	 * baremetal native ones. Think page table operations.
+	 * bare metal native ones. Think page table operations.
 	 * Details in paravirt_types.h
 	 */
 	. = ALIGN(8);
--
Signature · 1 line
~Randy
#2 lore raw
Quoted 6 lines · Randy Dunlap
Quoted 5 lines · Bhaskar Chowdhury

s/percpu/per CPU/
s/baremetal/bare metal/

Quoted 7 lines
Quoted 1 line

Yeah, "bare metal" is a little better than "baremetal".

OTOH, "percpu" is a kernel construct's name. It doesn't have to be proper English IMHO. (2 cents worth)

My bad ....disregard...pls...will be careful ...

Quoted 32 lines
Quoted 18 lines
---
 arch/x86/kernel/vmlinux.lds.S | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/x86/kernel/vmlinux.lds.S +1 -1
index efd9e9ea17f2..592a44ad13b1 100644
@@ -217,7 +217,7 @@ SECTIONS
 
 #if defined(CONFIG_X86_64) && defined(CONFIG_SMP)
 	/*
-	 * percpu offsets are zero-based on SMP.  PERCPU_VADDR() changes the
+	 * per CPU offsets are zero-based on SMP.  PERCPU_VADDR() changes the
 	 * output PHDR, so the next output section - .init.text - should
 	 * start another segment - init.
 	 */

arch/x86/kernel/vmlinux.lds.S SECTIONS

Quoted 9 lines
arch/x86/kernel/vmlinux.lds.S +1 -2
@@ -262,7 +262,7 @@ SECTIONS
 	/*
 	 * start address and size of operations which during runtime
 	 * can be patched with virtualization friendly instructions or
-	 * baremetal native ones. Think page table operations.
+	 * bare metal native ones. Think page table operations.
 	 * Details in paravirt_types.h
 	 */
 	. = ALIGN(8);
--

--
~Randy