Re: locking user memory and kiobuf

Peter Samuelson (kernel@kvack.org)
Mon, 8 Nov 1999 12:05:37 -0500 (EST)


On Mon, 8 Nov 1999, Tony E. Bennett wrote:

> Is vmalloc'd memory locked down and thus suitable for dma? Somehow I thought
> it was paged...

vmalloc'd memory isn't paged -- it's just virtually mapped, so you can't
use virt_to_bus on the pointer you get back without first looking up where
in memory the page actually is.

-ben

-
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/