From: Resul Cetin <Resul-Cetin@gmx.net>
To: linux-kernel@vger.kernel.org
Subject: Getting data from other process when running in kernel thread
Date: Wed, 11 Nov 2009 22:58:57 +0100 [thread overview]
Message-ID: <200911112258.57859.Resul-Cetin@gmx.net> (raw)
Hi,
I have following problem when running in a kernel thread. I know the pid of a
program which started some data processing. After I finished with it, it
should send the data to the user process and/or getting new data from it. This
means that I must use copy_from_user/copy_to_user, but with specifying the
pid/task.
Is that somehow possible? I think most of the things are done in workqueues
and so I don't really know in which context I am.
Best regards,
Resul Cetin
reply other threads:[~2009-11-11 21:58 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=200911112258.57859.Resul-Cetin@gmx.net \
--to=resul-cetin@gmx.net \
--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®