[crac] RFR: RCU Lock - RW lock with very lightweight read- and heavyweight write-locking [v4]
Radim Vansa
duke at openjdk.org
Wed Apr 12 13:57:09 UTC 2023
On Wed, 12 Apr 2023 13:21:55 GMT, Radim Vansa <duke at openjdk.org> wrote:
>> This implementation is suitable for uses where the write-locking happens very rarely (if at all), as in the case of CRaC checkpoint, and we don't want to slow down regular access to the protected resource.
>
> Radim Vansa has updated the pull request incrementally with one additional commit since the last revision:
>
> Drop some trailing whitespaces
Actually, the *big lock* as I've done it doesn't make much sense; usually we'd need to do some cleanup in the resource as well. So it might make more sense to have a full Context guarded by this lock.
-------------
PR Comment: https://git.openjdk.org/crac/pull/58#issuecomment-1505320627
More information about the crac-dev
mailing list