From: Manfred Spraul <manfred@colorfullife.com>
To: hadi@cyberus.ca
Cc: netdev@oss.sgi.com, linux-kernel@vger.kernel.org,
Michal Wronski <wrona@mat.uni.torun.pl>,
Krzysztof Benedyczak <golbi@mat.uni.torun.pl>
Subject: Re: [RFC, PATCH] netlink based mq_notify(SIGEV_THREAD)
Date: Sun, 04 Apr 2004 09:11:26 +0200 [thread overview]
Message-ID: <406FB51E.3090001@colorfullife.com> (raw)
In-Reply-To: <1081029667.2037.55.camel@jzny.localdomain>
jamal wrote:
>Your split of netlink_unicast seems fine ;
>I guess the bigger question is whether this interface could be a
>speacilized netlink protocol instead? It doesnt seem too nasty as is
>right now, just tending towards cleanliness.
>It seems that user space must first open a netlink socket for this to
>work but somehow the result skb is passed back to userspace using the
>mq_notify and not via the socket interface opened?
>
No, the result is returned via the socket fd. It's just created due to
the mq_notify call.
> Why should user space
>even bother doing this? The kernel could on its behalf, no? Are you sure
>there will always be one and only one message outstanding always?
>
>
There can be multiple messages outstanding. Each sucessful mq_notify
call generates exactly one message, but a process could create multiple
message queues and then there can be multiple messages in the
notification socket.
--
Manfred
prev parent reply other threads:[~2004-04-04 7:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-03 19:42 [RFC, PATCH] netlink based mq_notify(SIGEV_THREAD) Manfred Spraul
2004-04-03 20:18 ` jamal
2004-04-03 20:43 ` Manfred Spraul
2004-04-03 22:01 ` jamal
2004-04-04 7:11 ` Manfred Spraul [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=406FB51E.3090001@colorfullife.com \
--to=manfred@colorfullife.com \
--cc=golbi@mat.uni.torun.pl \
--cc=hadi@cyberus.ca \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@oss.sgi.com \
--cc=wrona@mat.uni.torun.pl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.