[Barrelfish-users] Better support for System V shared memory

Kornilios Kourtis kornilios.kourtis at inf.ethz.ch
Fri Feb 24 11:32:34 CET 2012


Hi Zeus,

On Thu, Feb 23, 2012 at 05:12:55PM +0100, Zeus Gómez Marmolejo wrote:
> Hi all,
> 
> I've been working lately with System V shared memory and I've added few
> things.
> 
> First, I added the functionality to remove a key from the hash store in
> chips (patch 0001). There was only possible to add and get a key. With
> this, I've changed a bit the System V shared memory support in
> lib/posixcompat/shm.c implementing the IPC_RMID case for shmctl() (patch
> 0002). This is necessary if you want to reuse a previously used key, in
> this case it is removed from the store. The shared memory can still be
> attached (but not linked to any id). I've modified a bit the attach and
> detach methods for that.
> 
> See the attached patches.

Thanks for the patches!

Gerd who is working on replacing chips with a new service will carry the
patches on his tree, so that they can be ported to the new system.

cheers,
Kornilios.

-- 
Kornilios Kourtis



More information about the Barrelfish-users mailing list