lkml.org 
[lkml]   [1999]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Address spaces on a i386 - Getting Confused
David Miller writes:
> Date: Tue, 30 Mar 1999 22:26:34 +1000
> From: Richard Gooch <rgooch@atnf.csiro.au>
>
> He should be able to allocate kernel pages and mmap() them to user
> space. Then he can DMA into the pages and wake up the user process
> when it's done.
>
> This would work, but only if it is mlock'd (could be done by the
> kernel, just set the appropriate vm_flags during the mmap) else the
> swapper can toss it to disk at any time.

??? Pages returned by kmalloc() or get_free_page() aren't swappable.

Regards,

Richard....

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

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.436 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site