> > yes, map_user_kiobuf() works only on user addresses.
>
> SGI's code added support for other address spaces in kiobufs. Either
> way, the addresses you pass to IO functions should be kernel virtual
> addresses anyway if you are passing kiobufs.
by 'kernel virtual addresses' you do not mean the vmalloc() area
exclusively, correct?
Also, in my pagecache-in-highmem patches i've already got rid of the
notion of storing virtual addresses in kiobufs, now it's only a 'struct
page *' array instead of a virtual-address array. (will send it to you in
a minute so you can see what i mean and we can sync up)
> I'm actually working on the kiobuf code right now, mainly to separate
> out the locking of pages from the mapping of virtual addresses, and
> getting kernel VA mapping functions in place is one thing I'm merging.
great!
-- mingo
-
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/