mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:27:45 +00:00
Everywhere: Fix typos
This commit is contained in:
parent
7ad31651bd
commit
421587c15c
12 changed files with 16 additions and 16 deletions
|
@ -107,7 +107,7 @@ u32 FutexQueue::wake_n_requeue(u32 wake_count, const Function<FutexQueue*()>& ge
|
|||
u32 FutexQueue::wake_n(u32 wake_count, const Optional<u32>& bitset, bool& is_empty)
|
||||
{
|
||||
if (wake_count == 0)
|
||||
return 0; // should we assert instaed?
|
||||
return 0; // should we assert instead?
|
||||
ScopedSpinLock lock(m_lock);
|
||||
#ifdef FUTEXQUEUE_DEBUG
|
||||
dbg() << "FutexQueue @ " << this << ": wake_n(" << wake_count << ")";
|
||||
|
|
|
@ -163,7 +163,7 @@ void Thread::FutexBlocker::finish_requeue(FutexQueue& futex_queue)
|
|||
{
|
||||
ASSERT(m_lock.own_lock());
|
||||
set_block_condition_raw_locked(&futex_queue);
|
||||
// We can now releas the lock
|
||||
// We can now release the lock
|
||||
m_lock.unlock(m_relock_flags);
|
||||
}
|
||||
|
||||
|
|
|
@ -145,7 +145,7 @@ AnonymousVMObject::AnonymousVMObject(const AnonymousVMObject& other)
|
|||
ensure_or_reset_cow_map();
|
||||
|
||||
if (m_unused_committed_pages > 0) {
|
||||
// The original vmobject didn't use up all commited pages. When
|
||||
// The original vmobject didn't use up all committed pages. When
|
||||
// cloning (fork) we will overcommit. For this purpose we drop all
|
||||
// lazy-commit references and replace them with shared zero pages.
|
||||
for (size_t i = 0; i < page_count(); i++) {
|
||||
|
@ -380,7 +380,7 @@ RefPtr<PhysicalPage> AnonymousVMObject::allocate_committed_page(size_t page_inde
|
|||
|
||||
ASSERT(m_unused_committed_pages > 0);
|
||||
|
||||
// We should't have any committed page tags in volatile regions
|
||||
// We shouldn't have any committed page tags in volatile regions
|
||||
ASSERT([&]() {
|
||||
for (auto* purgeable_ranges : m_purgeable_ranges) {
|
||||
if (purgeable_ranges->is_volatile(page_index))
|
||||
|
|
|
@ -74,7 +74,7 @@ void WaitQueue::wake_one()
|
|||
u32 WaitQueue::wake_n(u32 wake_count)
|
||||
{
|
||||
if (wake_count == 0)
|
||||
return 0; // should we assert instaed?
|
||||
return 0; // should we assert instead?
|
||||
ScopedSpinLock lock(m_lock);
|
||||
#ifdef WAITQUEUE_DEBUG
|
||||
dbg() << "WaitQueue @ " << this << ": wake_n(" << wake_count << ")";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue