1
0
mirror of https://github.com/0xAX/linux-insides.git synced 2025-01-03 04:10:56 +00:00

fix typo in linux-sync-4.md

From "function will `acct` like "
=> function will `act` like 

Maybe another typo or not?
This commit is contained in:
nannxnann 2022-07-24 21:12:38 +08:00 committed by GitHub
parent 3dcd5b0fd1
commit e9fbdea09a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -303,7 +303,7 @@ static bool mutex_optimistic_spin(struct mutex *lock,
#endif #endif
``` ```
In all of these cases, the `__mutex_lock_common` function will acct like a `semaphore`. We try to acquire a lock again because the owner of a lock might already release a lock before this time: In all of these cases, the `__mutex_lock_common` function will act like a `semaphore`. We try to acquire a lock again because the owner of a lock might already release a lock before this time:
```C ```C
if (!mutex_is_locked(lock) && if (!mutex_is_locked(lock) &&