summaryrefslogtreecommitdiff
path: root/slabs.c
diff options
context:
space:
mode:
authorJosh Soref <jsoref@users.noreply.github.com>2017-04-05 03:37:00 +0000
committerdormando <dormando@rydia.net>2017-05-23 22:41:58 -0700
commit79e35287df4cd9e410c3a160c2552ea40a335e2c (patch)
tree63b5dddb9434b4cf0879f98e05877e715f8a9346 /slabs.c
parente3eb73d016127fa6ebae3dfbf70a2a4cf5254d59 (diff)
downloadmemcached-79e35287df4cd9e410c3a160c2552ea40a335e2c.tar.gz
Spelling fixes
* accesses * amount * append * command * cyrillic * daemonize * detaches * detail * documentation * dynamically * enabled * existence * extra * implementations * incoming * increment * initialize * issue * javascript * number * optimization * overall * pipeline * reassign * reclaimed * response * responses * sigabrt * specific * specificity * tidiness
Diffstat (limited to 'slabs.c')
-rw-r--r--slabs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/slabs.c b/slabs.c
index 4d2adcb..df8e17d 100644
--- a/slabs.c
+++ b/slabs.c
@@ -700,7 +700,7 @@ static void *slab_rebalance_alloc(const size_t size, unsigned int id) {
}
/* CALLED WITH slabs_lock HELD */
-/* detatches item/chunk from freelist. */
+/* detaches item/chunk from freelist. */
static void slab_rebalance_cut_free(slabclass_t *s_cls, item *it) {
/* Ensure this was on the freelist and nothing else. */
assert(it->it_flags == ITEM_SLABBED);
@@ -1042,7 +1042,7 @@ static void *slab_rebalance_thread(void *arg) {
while (do_run_slab_rebalance_thread) {
if (slab_rebalance_signal == 1) {
if (slab_rebalance_start() < 0) {
- /* Handle errors with more specifity as required. */
+ /* Handle errors with more specificity as required. */
slab_rebalance_signal = 0;
}
@@ -1150,7 +1150,7 @@ int start_slab_maintenance_thread(void) {
}
if (pthread_cond_init(&slab_rebalance_cond, NULL) != 0) {
- fprintf(stderr, "Can't intiialize rebalance condition\n");
+ fprintf(stderr, "Can't initialize rebalance condition\n");
return -1;
}
pthread_mutex_init(&slabs_rebalance_lock, NULL);