All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nick Piggin <nickpiggin@yahoo.com.au>
To: markh@compro.net
Cc: dmarkh@cfl.rr.com, linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: get_user_pages ?
Date: Fri, 21 Apr 2006 06:00:46 +1000	[thread overview]
Message-ID: <4447E86E.9000507@yahoo.com.au> (raw)
In-Reply-To: <4447E6C4.9070207@compro.net>

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.

-- 
SUSE Labs, Novell Inc.
Send instant messages to your online friends http://au.messenger.yahoo.com 

  reply	other threads:[~2006-04-21  5:45 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 [this message]
2006-04-21 12:29       ` Mark Hounschell
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=4447E86E.9000507@yahoo.com.au \
    --to=nickpiggin@yahoo.com.au \
    --cc=dmarkh@cfl.rr.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=markh@compro.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.