diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2021-04-26 00:10:39 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-04-26 10:07:41 +0900 |
commit | 33f2ff3babb7054f3df1efa25c1285e09613d7b8 (patch) | |
tree | 4c47e98fd4194080fb4d0d047100731b076babc0 /cont.c | |
parent | f9b62b5cc04fa87f0970c9ca3d1cbbc9be8bf8fe (diff) |
Fix some typos by spell checker
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4414
Diffstat (limited to 'cont.c')
-rw-r--r-- | cont.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -436,7 +436,7 @@ fiber_pool_allocate_memory(size_t * count, size_t stride) #if defined(MADV_FREE_REUSE) // On Mac MADV_FREE_REUSE is necessary for the task_info api // to keep the accounting accurate as possible when a page is marked as reusable - // it can possibly not occuring at first call thus re-iterating if necessary. + // it can possibly not occurring at first call thus re-iterating if necessary. while (madvise(base, (*count)*stride, MADV_FREE_REUSE) == -1 && errno == EAGAIN); #endif return base; @@ -657,7 +657,7 @@ fiber_pool_stack_free(struct fiber_pool_stack * stack) #elif defined(MADV_FREE_REUSABLE) // Acknowledge the kernel down to the task info api we make this // page reusable for future use. - // As for MADV_FREE_REUSE below we ensure in the rare occassions the task was not + // As for MADV_FREE_REUSE below we ensure in the rare occasions the task was not // completed at the time of the call to re-iterate. while (madvise(base, size, MADV_FREE_REUSABLE) == -1 && errno == EAGAIN); #elif defined(MADV_FREE) |