linux-api.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: rao.shoaib@oracle.com
To: hch@lst.de, pabeni@redhat.com, jbi.octave@gmail.com,
	linux-api@vger.kernel.org
Cc: Rao Shoaib <rao.shoaib@oracle.com>
Subject: [RFC net-next af_unix v1 0/1]  Allow delivery of SIGURG on AF_UNIX streams socket
Date: Sat, 28 Nov 2020 18:52:11 -0800	[thread overview]
Message-ID: <1606618332-23345-1-git-send-email-rao.shoaib@oracle.com> (raw)

From: Rao Shoaib <rao.shoaib@oracle.com>

We have a use case where thousands of processes connect locally to a
database and issue queries that are serviced by a pool of threads.
Communication is done over AF_UNIX sockets. Currently, there is no way
for the submitter to signal the servicing thread about an urgent
condition such as abandoning the query. This patch addresses that
requirement by adding support for MSG_OOB flag for AF_UNIX sockets.
On receipt of such a flag, the kernel sends a SIGURG to the peer.

Rao Shoaib (1):
  af_unix: Allow delivery of SIGURG on AF_UNIX streams socket

 net/unix/af_unix.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

-- 
1.8.3.1


             reply	other threads:[~2020-11-29  3:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-29  2:52 rao.shoaib [this message]
2020-11-29  2:52 ` [RFC net-next af_unix v1 1/1] af_unix: Allow delivery of SIGURG on AF_UNIX streams socket rao.shoaib
2020-11-29  4:02 ` [RFC net-next af_unix v1 0/1] " Andy Lutomirski
2020-11-30  6:24   ` Rao Shoaib
2020-12-07 16:35   ` Matthew Wilcox
2020-12-07 17:00     ` Andy Lutomirski
2020-12-07 18:51       ` Matthew Wilcox

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=1606618332-23345-1-git-send-email-rao.shoaib@oracle.com \
    --to=rao.shoaib@oracle.com \
    --cc=hch@lst.de \
    --cc=jbi.octave@gmail.com \
    --cc=linux-api@vger.kernel.org \
    --cc=pabeni@redhat.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).