Re: [RFC] [PATCH] Implementation of POSIX message queues

2015-09-23 Thread Dimitris Papastamos
On Wed, Sep 23, 2015 at 12:12:01PM -0400, Ted Unangst wrote: > Dimitris Papastamos wrote: > > I did some very crude benchmarking on my machine and I could push > > about 100k messages per second through a single message queue. > > > > At this point, I can start working on manpages + the necessary

Re: [RFC] [PATCH] Implementation of POSIX message queues

2015-09-21 Thread Dimitris Papastamos
Hi everyone, I had a chance to test this patch more and iron out some bugs. The main changes from the previous version are: * Uses pool(9) for allocations smaller than MQ_DEF_MSGSIZE. * Add poll support. * Fix a memory leak in domqrecv() that would eventually exhaust all available kernel

[RFC] [PATCH] Implementation of POSIX message queues

2015-09-17 Thread Dimitris Papastamos
Hi everyone, I've written a patch that adds support for POSIX message queues. I started this implementation because I wanted to play around with this API in a hobby project. The patch is not yet fully tested but the main functionality is there to warrant some feedback on both the implementation