[Top][All Lists]

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

RFC: Lightweight synchronization mechanism for gnumach v3

From: Agustina Arzille
Subject: RFC: Lightweight synchronization mechanism for gnumach v3
Date: Mon, 04 Apr 2016 19:16:31 -0300

So, I kinda forgot to upload the newest version. Sorry about that.

Anyway, after some discussion, it was determined that the task's map had
to be locked between to calls to 'valid_access_p', when testing if the
addresses could be accessed with a certain protection. This prevents the kernel
from accessing invalid pointers if another thread deallocates the memory used
for gsync. Also, it's now the RPC entry points who are responsible for checking
that, instead of the function 'gsync_fill_key', which now simply initializes a 
as the name implies.

The rest of the changes are merely cosmetic, with some polishing here and
there. The biggest change is the addition of read-locks as described above.

As usual, I'm open to any comments, criticism or advice you may have.

Attachment: diff
Description: Text document

reply via email to

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