lkml.org 
[lkml]   [2006]   [Apr]   [21]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateFri, 21 Apr 2006 06:00:46 +1000
FromNick Piggin <>
SubjectRe: get_user_pages ?
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 

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-04-21 07:49    [from the cache]
©2003-2008