From: Sebastian Heidl <heidl@zib.de>
To: lkml <linux-kernel@vger.kernel.org>
Subject: doing a callback from the kernel to userspace
Date: Mon, 12 Nov 2001 18:05:05 +0100 [thread overview]
Message-ID: <20011112180505.A5446@csr-pc1.zib.de> (raw)
Hi,
I read some of the signaling code and must admit that I could not extract the
necessary information from it. Ideally I'd like to call a user-supplied function
having just a pointer to this function and say the task_struct of the owning
process.
What steps are needed to savely do the callback ? (How) can I retrieve the
necessary information from the task_struct ?
any pointers are welcome
_sh_
PS: Yes, I really do need this as signals form the kernel to userspace add to
much latency (10 to 20 usecs) and I want to avoid waiting in a system call.
next reply other threads:[~2001-11-12 17:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-12 17:05 Sebastian Heidl [this message]
2001-11-12 18:39 ` Richard B. Johnson
2001-11-13 9:47 ` Sebastian Heidl
2001-11-12 18:27 Manfred Spraul
2001-11-13 9:47 ` Sebastian Heidl
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=20011112180505.A5446@csr-pc1.zib.de \
--to=heidl@zib.de \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®