Messages in this thread | | | Date | Thu, 12 Nov 1998 02:57:27 +0100 (CET) | From | MOLNAR Ingo <> | Subject | Re: virt_to_bus and >1G of memory (was MAX_DMA_ADDRESS ...) |
| |
On Wed, 11 Nov 1998, Jan Kasprzak wrote:
> Can anybody explain this to me? Is (x)-PAGE_OFFSET at any chance > slower or less efficient than (x)&~PAGE_OFFSET?
no, it's just as fast. (but it's not as robust, so it's a bit more complex to get a maintainable solution) There is a patch that implements this, but it's not yet added to the mainstream kernel. (and probably wont be for 2.2) Until it's added, you can use powers of 2, they are OK for most cases.
-- 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/
| |