From: Mark Hounschell <markh@compro.net>
To: Nick Piggin <nickpiggin@yahoo.com.au>
Cc: dmarkh@cfl.rr.com, linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: get_user_pages ?
Date: Fri, 21 Apr 2006 08:29:59 -0400 [thread overview]
Message-ID: <4448D047.8070202@compro.net> (raw)
In-Reply-To: <4447E86E.9000507@yahoo.com.au>
Nick Piggin wrote:
> Mark Hounschell wrote:
>> Nick Piggin wrote:
>
>>> This area is going through some changes lately. If you want something to
>>> quickly get things working, removing VM_PFNMAP from your vma flags
>>> should
>>> work.
>>>
>>
>>
>> Yes, that actually does work while the task is running but as soon as I
>> exit the task the machine freezes.
>
> Hmm. Does it freeze, or oops? (ie. were you in X and missed the oops)
> Can you get a sysrq backtrace?
>
> Oh, hmm you'll need to increment the refcount of each page before
> mapping it. That's probably the problem.
>
> OK, I'd suggest either using vm_insert_page, or converting it all over
> to a ->nopage handler then.
>
I set the bit back on after get_user_pages and now I seem to be OK.
You've looked at the code some obviously. What is in my future WRT these
changes being made that you referenced above and the depreciation of
some of the calls in use. Given my situation, do you foresee anything
that will keep me from being able to get valid bus addresses for my pte?
Thanks
Mark
next prev parent reply other threads:[~2006-04-21 12:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-20 10:08 get_user_pages ? Mark Hounschell
2006-04-20 11:50 ` Nick Piggin
2006-04-20 19:53 ` Mark Hounschell
2006-04-20 20:00 ` Nick Piggin
2006-04-21 12:29 ` Mark Hounschell [this message]
2006-04-21 14:52 ` Mark Rustad
2006-04-22 4:09 ` Nick Piggin
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=4448D047.8070202@compro.net \
--to=markh@compro.net \
--cc=dmarkh@cfl.rr.com \
--cc=linux-kernel@vger.kernel.org \
--cc=nickpiggin@yahoo.com.au \
/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).