Messages in this thread | | | Date | Tue, 20 Apr 2004 20:05:48 +0200 | From | Manfred Spraul <> | Subject | Re: [PATCH] per-user signal pending and message queue limits |
| |
Marcelo Tosatti wrote:
>Indeed, it seems more correct to account for something else than "nr of message queues". > >Memory occupied sounds better, yeap? > > I agree, but note that there is one hidden problem: There can be one notification for each registered message queue. If there are more than ~560 queues and one process wants to install SIGEV_THREAD notification handlers for all of them, then the netfilter code will run against the socket rmem limit and mq_notify will block. _If_ there are users that do that we'll have to bypass the normal sk_rmem_alloc and add an mqueue specific limit.
-- Manfred
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |