[Barrelfish-users] Better support for System V shared memory
Zeus Gómez Marmolejo
zeus.gomez at bsc.es
Thu Feb 23 17:12:55 CET 2012
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.
Many thanks for your help,
--
Zeus Gómez Marmolejo
Barcelona Supercomputing Center
PhD student
http://www.bsc.es
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.inf.ethz.ch/pipermail/barrelfish-users/attachments/20120223/e5c742b7/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Added-functionality-to-remove-capability-from-chips.patch
Type: text/x-patch
Size: 4081 bytes
Desc: not available
Url : https://lists.inf.ethz.ch/pipermail/barrelfish-users/attachments/20120223/e5c742b7/attachment-0002.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-System-V-better-semantics-when-reusing-and-deleting.patch
Type: text/x-patch
Size: 10885 bytes
Desc: not available
Url : https://lists.inf.ethz.ch/pipermail/barrelfish-users/attachments/20120223/e5c742b7/attachment-0003.bin
More information about the Barrelfish-users
mailing list