Skip to contentSkip to conversation

numa: fix comment

PATCH In review Michael S. Tsirkin 2 participants 3 messages Jun 24, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 numa: fix comment

Fix up English in comments:
s/the each/each/

---
 numa.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
numa.c +1 -1
index e471afe..47049a5 100644
@@ -172,7 +172,7 @@ void set_numa_nodes(void)
         if (i == nb_numa_nodes) {
             uint64_t usedmem = 0;
 
-            /* On Linux, the each node's border has to be 8MB aligned,
+            /* On Linux, each node's border has to be 8MB aligned,
              * the final node gets the rest.
              */
             for (i = 0; i < nb_numa_nodes - 1; i++) {
Signature · 1 line
MST
#1 lore raw
Quoted 23 lines · Michael S. Tsirkin

Fix up English in comments:
s/the each/each/

---
 numa.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
numa.c +1 -1
index e471afe..47049a5 100644
@@ -172,7 +172,7 @@ void set_numa_nodes(void)
         if (i == nb_numa_nodes) {
             uint64_t usedmem = 0;
 
-            /* On Linux, the each node's border has to be 8MB aligned,
+            /* On Linux, each node's border has to be 8MB aligned,
              * the final node gets the rest.
              */
             for (i = 0; i < nb_numa_nodes - 1; i++) {
Signature · 1 line
MST

There is another one in the same function that can be fixed togehter:

/* If no memory size if given for any node

s/if/is/

Hu

#2 lore raw
Quoted 27 lines · Hu Tao
Quoted 23 lines · Michael S. Tsirkin

Fix up English in comments:
s/the each/each/

---
 numa.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
numa.c +1 -1
index e471afe..47049a5 100644
@@ -172,7 +172,7 @@ void set_numa_nodes(void)
         if (i == nb_numa_nodes) {
             uint64_t usedmem = 0;
 
-            /* On Linux, the each node's border has to be 8MB aligned,
+            /* On Linux, each node's border has to be 8MB aligned,
              * the final node gets the rest.
              */
             for (i = 0; i < nb_numa_nodes - 1; i++) {
Signature · 1 line
MST

There is another one in the same function that can be fixed togehter:

Quoted 5 lines

/* If no memory size if given for any node

s/if/is/

Hu

Fixed, thanks.