From: Christian Hinkelbein <hinkelbein@ti.uni-mannheim.de>
To: linux-ia64@vger.kernel.org
Subject: pages already locked on ia64
Date: Fri, 14 Nov 2003 10:22:23 +0000 [thread overview]
Message-ID: <marc-linux-ia64-106881037208683@msgid-missing> (raw)
Hi,
i have the need to lock malloc'ed user mem between
kernel calls.
On ia32 i succesfully do a lock_page() on every
page returned by get_user_pages(), lateron i do
unlock_page().
On ia64 sometimes (on ia32 seemingly never) the first
page is already locked, just after malloc().
For a quick hack i check all pages before trying to
lock them, so that i am later just unlocking the
not previously locked ones.
I am quite shure that my approach is totally ill.
Could someone point me to some piece of information that
helps me get cured?
christian
next reply other threads:[~2003-11-14 10:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-14 10:22 Christian Hinkelbein [this message]
2003-11-17 23:40 ` pages already locked on ia64 David Mosberger
2003-11-21 15:17 ` Christian Hinkelbein
2003-11-24 4:58 ` Andrew Morton
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=marc-linux-ia64-106881037208683@msgid-missing \
--to=hinkelbein@ti.uni-mannheim.de \
--cc=linux-ia64@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