From: Etienne Bergeron Date: Wed, 13 Feb 2013 02:33:16 +0000 (-0500) Subject: Spelling cleanups within comments and documentation X-Git-Tag: v0.8.0~110 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=ffa11a1830c532f3b052146eb9f0dd450cb2a0f2;p=urcu.git Spelling cleanups within comments and documentation Signed-off-by: Mathieu Desnoyers --- diff --git a/CodingStyle b/CodingStyle index f3f6ba2..5a33e8d 100644 --- a/CodingStyle +++ b/CodingStyle @@ -1,6 +1,6 @@ Userspace RCU Coding Style -The coding style used for this project follows the the Linux kernel +The coding style used for this project follows the Linux kernel guide lines. Please refer to: - Linux kernel Documentation/CodingStyle document for details, diff --git a/rculfhash.c b/rculfhash.c index 3650ed3..8c3d621 100644 --- a/rculfhash.c +++ b/rculfhash.c @@ -281,7 +281,7 @@ * Split-counters lazily update the global counter each 1024 * addition/removal. It automatically keeps track of resize required. * We use the bucket length as indicator for need to expand for small - * tables and machines lacking per-cpu data suppport. + * tables and machines lacking per-cpu data support. */ #define COUNT_COMMIT_ORDER 10 #define DEFAULT_SPLIT_COUNT_MASK 0xFUL diff --git a/tests/test_urcu_gc.c b/tests/test_urcu_gc.c index 777e04b..ca8c45b 100644 --- a/tests/test_urcu_gc.c +++ b/tests/test_urcu_gc.c @@ -1,7 +1,7 @@ /* * test_urcu_gc.c * - * Userspace RCU library - test program (with baatch reclamation) + * Userspace RCU library - test program (with batch reclamation) * * Copyright February 2009 - Mathieu Desnoyers * diff --git a/urcu-wait.h b/urcu-wait.h index ff7d2cc..d00842a 100644 --- a/urcu-wait.h +++ b/urcu-wait.h @@ -148,7 +148,7 @@ void urcu_adaptative_busy_wait(struct urcu_wait_node *wait) URCU_WAIT_WAITING, NULL, NULL, 0); skip_futex_wait: - /* Tell waker thread than we are runnning. */ + /* Tell waker thread than we are running. */ uatomic_or(&wait->state, URCU_WAIT_RUNNING); /* diff --git a/urcu/static/lfstack.h b/urcu/static/lfstack.h index fe9e8ab..0be9594 100644 --- a/urcu/static/lfstack.h +++ b/urcu/static/lfstack.h @@ -118,7 +118,7 @@ bool _cds_lfs_empty(struct cds_lfs_stack *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. diff --git a/urcu/static/wfcqueue.h b/urcu/static/wfcqueue.h index 4b3535a..af7a8c6 100644 --- a/urcu/static/wfcqueue.h +++ b/urcu/static/wfcqueue.h @@ -536,7 +536,7 @@ ___cds_wfcq_splice_nonblocking( * * Content written into the node before enqueue is guaranteed to be * consistent, but no other memory ordering is ensured. - * Mutual exlusion with cds_wfcq_splice_blocking and dequeue lock is + * Mutual exclusion with cds_wfcq_splice_blocking and dequeue lock is * ensured. * It is valid to reuse and free a dequeued node immediately. */ @@ -559,7 +559,7 @@ _cds_wfcq_dequeue_blocking(struct cds_wfcq_head *head, * dest_q must be already initialized. * Content written into the node before enqueue is guaranteed to be * consistent, but no other memory ordering is ensured. - * Mutual exlusion with cds_wfcq_dequeue_blocking and dequeue lock is + * Mutual exclusion with cds_wfcq_dequeue_blocking and dequeue lock is * ensured. * Returns enum cds_wfcq_ret which indicates the state of the src or * dest queue. Never returns CDS_WFCQ_RET_WOULDBLOCK. diff --git a/urcu/tls-compat.h b/urcu/tls-compat.h index 601336b..a44b88d 100644 --- a/urcu/tls-compat.h +++ b/urcu/tls-compat.h @@ -44,7 +44,7 @@ extern "C" { * typedef int my_int_array_type[4]; * DEFINE_URCU_TLS(my_int_array_type, var_name); * - * Another exmaple: + * Another example: * typedef void (*call_rcu_flavor)(struct rcu_head *, XXXX); * DECLARE_URCU_TLS(call_rcu_flavor, p_call_rcu); * diff --git a/urcu/wfcqueue.h b/urcu/wfcqueue.h index b6be9f3..4ce8fe9 100644 --- a/urcu/wfcqueue.h +++ b/urcu/wfcqueue.h @@ -192,7 +192,7 @@ extern bool cds_wfcq_enqueue(struct cds_wfcq_head *head, * Content written into the node before enqueue is guaranteed to be * consistent, but no other memory ordering is ensured. * It is valid to reuse and free a dequeued node immediately. - * Mutual exlusion with cds_wfcq_dequeue_blocking and dequeue lock is + * Mutual exclusion with cds_wfcq_dequeue_blocking and dequeue lock is * ensured. */ extern struct cds_wfcq_node *cds_wfcq_dequeue_blocking( @@ -206,7 +206,7 @@ extern struct cds_wfcq_node *cds_wfcq_dequeue_blocking( * dest_q must be already initialized. * Content written into the node before enqueue is guaranteed to be * consistent, but no other memory ordering is ensured. - * Mutual exlusion with cds_wfcq_dequeue_blocking and dequeue lock is + * Mutual exclusion with cds_wfcq_dequeue_blocking and dequeue lock is * ensured. * * Returns enum cds_wfcq_ret which indicates the state of the src or