mirror of
https://github.com/0xAX/linux-insides.git
synced 2025-01-03 04:10:56 +00:00
Update linux-sync-4.md
From "may be negative after `increment`" =>"may be negative after `decrement`"
This commit is contained in:
parent
e9fbdea09a
commit
ea81d2b833
@ -205,7 +205,7 @@ exit:
|
||||
return;
|
||||
```
|
||||
|
||||
For this moment the implementation of the `__mutex_fastpath_lock` function looks pretty easy. But the value of the `mutex->counter` may be negative after increment. In this case the:
|
||||
For this moment the implementation of the `__mutex_fastpath_lock` function looks pretty easy. But the value of the `mutex->counter` may be negative after decrement. In this case the:
|
||||
|
||||
```C
|
||||
fail_fn(v);
|
||||
|
Loading…
Reference in New Issue
Block a user