cleanup: spelling fixes in comments
authorMichael Jeanson <mjeanson@efficios.com>
Thu, 29 Jul 2021 19:49:55 +0000 (15:49 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 1 Sep 2021 15:40:51 +0000 (11:40 -0400)
Change-Id: I22ae33365d77abeb5f7051882e9d0fa807e38f6f
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 files changed:
configure.ac
doc/cds-api.md
doc/examples/rculfhash/jhash.h
extras/abi/README
include/urcu/static/rculfstack.h
include/urcu/static/urcu-mb.h
include/urcu/static/urcu-memb.h
include/urcu/static/urcu-signal.h
m4/ae_config_feature.m4
src/compat_arch.c
src/urcu-bp.c
src/urcu-qsbr.c
src/urcu.c

index f026c6d60ffa44156abec1a633c6289779a151ea..7f378913a60b44a397b0ec03ad09cc91f6cbd84d 100644 (file)
@@ -192,9 +192,9 @@ AC_SEARCH_LIBS([clock_gettime], [rt], [
 ])
 
 
-##                              ##
-## Optionnal features selection ##
-##                              ##
+##                             ##
+## Optional features selection ##
+##                             ##
 
 # Allow to fallback to FIXME if the membarrier syscall is unavailable on the
 # running kernel, when disabled, abort if the syscall is unavailable. Applies
index 49a3c7c967e30d0636e6cfb2fbdee0b9d2c30a47..5bc615ea42ff9ce8deea1e4e0d65b8abea07e942 100644 (file)
@@ -76,7 +76,7 @@ This queue relies on RCU for existence guarantees.
 ### `urcu/rculfhash.h`
 
 Lock-Free Resizable RCU Hash Table. RCU used to provide
-existance guarantees. Provides scalable updates, and scalable
+existence guarantees. Provides scalable updates, and scalable
 RCU read-side lookups and traversals. Unique and duplicate keys
 are supported. Provides "uniquify add" and "replace add"
 operations, along with associated read-side traversal uniqueness
index fc3928e5d3deae77110bc89479f81fa94345e149..f50a0dac64216601a1c75a8bebc5ef411e085b01 100644 (file)
@@ -116,7 +116,7 @@ uint32_t hashlittle(const void *key, size_t length, uint32_t initval)
                 * rest of the string.  Every machine with memory protection I've seen
                 * does it on word boundaries, so is OK with this.      But VALGRIND will
                 * still catch it and complain. The masking trick does make the hash
-                * noticably faster for short strings (like English words).
+                * noticeably faster for short strings (like English words).
                 */
 #ifndef VALGRIND
 
index a74ec1bf350cfaf630dfa5f1a36bb73bd05b179b..4492fc680404e51011027e10386eb3e51c9b42ea 100644 (file)
@@ -1,5 +1,5 @@
 This directory contains the serialized ABI definitions for a typical build of
-the liburcu librairies. This information is extracted using libabigail
+the liburcu libraries. This information is extracted using libabigail
 (https://sourceware.org/libabigail/).
 
 The artefacts used to generate these were built with CFLAGS="-O0 -ggdb".
index 71d14e0444c5b7e9ffdcb08b2d3fe173b43e570b..54ff377b8aa801bbeaddb07097e05428d6bc8e88 100644 (file)
@@ -63,7 +63,7 @@ void _cds_lfs_init_rcu(struct cds_lfs_stack_rcu *s)
  * always performing an exclusive cacheline access, rather than doing
  * non-exclusive followed by exclusive cacheline access (which would be
  * required if we first read the old head value). This design decision
- * might be revisited after more throrough benchmarking on various
+ * might be revisited after more thorough benchmarking on various
  * platforms.
  *
  * Returns 0 if the stack was empty prior to adding the node.
index 0dd7d427b567635adb8dbfa7a397dcc8676e1576..577fdcdfcf54ba813b792bcf49bfdd7dd52123a1 100644 (file)
@@ -118,7 +118,7 @@ static inline void _urcu_mb_read_unlock_update_and_wakeup(unsigned long tmp)
 }
 
 /*
- * Exit an RCU read-side crtical section.  Both this function and its
+ * Exit an RCU read-side critical section.  Both this function and its
  * helper are smaller than 10 lines of code, and are intended to be
  * usable by non-LGPL code, as called out in LGPL.
  */
index a64efee3f9019b0bc37dbcddebc285c4b5b0fb5b..d30365a49f027ae09fc6c209d791a6196ce82d5b 100644 (file)
@@ -141,7 +141,7 @@ static inline void _urcu_memb_read_unlock_update_and_wakeup(unsigned long tmp)
 }
 
 /*
- * Exit an RCU read-side crtical section.  Both this function and its
+ * Exit an RCU read-side critical section.  Both this function and its
  * helper are smaller than 10 lines of code, and are intended to be
  * usable by non-LGPL code, as called out in LGPL.
  */
index f0faf3a6628ec2fa1c8f4821096c8020d6562d60..4de6da00c7112c7d5e1b542497ab436d673f9048 100644 (file)
@@ -119,7 +119,7 @@ static inline void _urcu_signal_read_unlock_update_and_wakeup(unsigned long tmp)
 }
 
 /*
- * Exit an RCU read-side crtical section.  Both this function and its
+ * Exit an RCU read-side critical section.  Both this function and its
  * helper are smaller than 10 lines of code, and are intended to be
  * usable by non-LGPL code, as called out in LGPL.
  */
index 7582c00f983dddbd22e90f55814b167429d5eb6b..315da572aaa2675eeb07404850956bc87860b46b 100644 (file)
@@ -211,7 +211,7 @@ m4_pushdef([FEATURE], patsubst([$1], -, _))dnl
 ])
 
 
-dnl Disabled by default, unless already overriden
+dnl Disabled by default, unless already overridden
 m4_ifndef([ae_feature_default_arg],[AE_FEATURE_DEFAULT_DISABLE])
 
 
index 461c7098adc97c74be65d6cc7cdc23915b861e2b..73f7d2d2f441e2e1fe4ef8771c807f2ebd0b7606 100644 (file)
@@ -41,7 +41,7 @@
 /*
  * It does not really matter if the constructor is called before using
  * the library, as long as the caller checks if __rcu_cas_avail < 0 and calls
- * compat_arch_init() explicitely if needed.
+ * compat_arch_init() explicitly if needed.
  */
 int __attribute__((constructor)) __rcu_cas_init(void);
 
index 0d6ff4b0071965a6897b5904c86ce1851ecb1e6b..83df1399cd382280e8cedc67a2bf0c854098fa2c 100644 (file)
@@ -296,7 +296,7 @@ void urcu_bp_synchronize_rcu(void)
        /*
         * Wait for readers to observe original parity or be quiescent.
         * wait_for_readers() can release and grab again rcu_registry_lock
-        * interally.
+        * internally.
         */
        wait_for_readers(&registry, &cur_snap_readers, &qsreaders);
 
@@ -327,7 +327,7 @@ void urcu_bp_synchronize_rcu(void)
        /*
         * Wait for readers to observe new parity or be quiescent.
         * wait_for_readers() can release and grab again rcu_registry_lock
-        * interally.
+        * internally.
         */
        wait_for_readers(&cur_snap_readers, NULL, &qsreaders);
 
index 40c0fbdb35519983186c67615f8c285a691f91d8..e934d3b57f7681225e1577089fdd589b17a6ad33 100644 (file)
@@ -278,7 +278,7 @@ void urcu_qsbr_synchronize_rcu(void)
        /*
         * Wait for readers to observe original parity or be quiescent.
         * wait_for_readers() can release and grab again rcu_registry_lock
-        * interally.
+        * internally.
         */
        wait_for_readers(&registry, &cur_snap_readers, &qsreaders);
 
@@ -321,7 +321,7 @@ void urcu_qsbr_synchronize_rcu(void)
        /*
         * Wait for readers to observe new parity or be quiescent.
         * wait_for_readers() can release and grab again rcu_registry_lock
-        * interally.
+        * internally.
         */
        wait_for_readers(&cur_snap_readers, NULL, &qsreaders);
 
@@ -410,7 +410,7 @@ void urcu_qsbr_synchronize_rcu(void)
        /*
         * Wait for readers to observe new count of be quiescent.
         * wait_for_readers() can release and grab again rcu_registry_lock
-        * interally.
+        * internally.
         */
        wait_for_readers(&registry, NULL, &qsreaders);
 
index 2c9e5d1da18f531393cd603d6c6d33fa57461a2b..902b8f839a75b4df7e0b077ed780a2f0b0c4a433 100644 (file)
@@ -441,7 +441,7 @@ void synchronize_rcu(void)
        /*
         * Wait for readers to observe original parity or be quiescent.
         * wait_for_readers() can release and grab again rcu_registry_lock
-        * interally.
+        * internally.
         */
        wait_for_readers(&registry, &cur_snap_readers, &qsreaders);
 
@@ -483,7 +483,7 @@ void synchronize_rcu(void)
        /*
         * Wait for readers to observe new parity or be quiescent.
         * wait_for_readers() can release and grab again rcu_registry_lock
-        * interally.
+        * internally.
         */
        wait_for_readers(&cur_snap_readers, NULL, &qsreaders);
 
This page took 0.030692 seconds and 4 git commands to generate.