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