bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RFC: Lightweight synchronization mechanism for gnumach v2.0


From: Agustina Arzille
Subject: Re: RFC: Lightweight synchronization mechanism for gnumach v2.0
Date: Wed, 30 Mar 2016 21:52:50 -0300


On 03/30/2016 08:58 PM, Samuel Thibault wrote:
Ok, I hadn't understood what you meant.  Actually, you perhaps
don't even need to lock the map before calling vm_map_lookup: does
gsync_fill_wait really need to do the valid_access_p() call itself? We
can make functions call gsync_fill_wait, then lock the map, then call
valid_access_p(), then dereference, and eventually unlock the map.

Samuel

Yes, I like this solution a lot more. I'll upload an updated patch
once I get home. Thanks for the input =)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]