Re: vmalloc vs. bus addresses

Alan Cox (alan@lxorguk.ukuu.org.uk)
Fri, 18 Jun 1999 19:30:11 +0100 (BST)


> Is there a Right Way[tm] to convert from the virtual adresses of the
> different pages of vmalloc()ed memory to bus addresses?
>
> The page walking the bttv driver does is not very nice to
> contemplate....

The page walking in 2.2.10ac1 is the right way to do it (note its slightly
updated to do things the true way so sparc64 is happy). Yes its ugly, yes
someone should make the extenral interface clean and hide it in mm somewhere
feel free

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