From: Amit Purohit <whoami_t@yahoo.com>
To: linux-kernel@vger.kernel.org
Subject: Right place to store process specific data
Date: Thu, 11 Oct 2001 17:36:17 -0700 (PDT) [thread overview]
Message-ID: <20011012003617.25581.qmail@web20902.mail.yahoo.com> (raw)
I want to have a fast common shared memory between
kernel and user. I am using a system call which uses
"map_user_kiobuf" on user allocated memory to satisfy
this need.
The system call returns the physical address to the
user so that the user can pass this address to the
kernel, next time, when the kernel wants to access the
shared memory.
I want to check whether the address passed by the user
is valid or not. For that I want to store the address
somewhere into the process structure when I generate
it through "map_user_kiobuf".( may be task_struct ).
But I am not able to find a place to keep the address.
( Any reserved variables ).
My first question is
1>Is there any place in the current process context
where I can store the address?
2>Is there any other method to have fast shared memory
between user and kernel.
--Amit
__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com
reply other threads:[~2001-10-12 0:36 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=20011012003617.25581.qmail@web20902.mail.yahoo.com \
--to=whoami_t@yahoo.com \
--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®