Re: Mapping from user VA to kernel VA...

Eric Lowe (elowe@myrile.madriver.k12.oh.us)
Wed, 24 Nov 1999 10:50:53 -0500 (EST)


Hello,

> I have a need to do the following.
>
> User process sends the his virtual address to kernel.
>
> Kernel locks memory down and now has the list of physical pages.
>
> What should i do so that i can get a kernel linear address, that maps to the
> same physical page?
>
> any help is greatly appreciated.
>

Stephen Tweedie's patch works fine if you use kiovecs. I'm working
on a patch that will do async and shared memory rw locking derived on that
set of patches but it's still a work-in-progress and has been for awhile...

--
Eric Lowe
FibreChannel Software Engineer, Systran Corporation
elowe@systran.com

"You can't spell failure without U-R-A." -Dispair.com

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