On 11/10/2014 03:22 PM, Linus Torvalds wrote: > Rik, the fact that you acked this just makes all your other ack's be > suspect. Did you do it just because it was from Red Hat, or do you do > it because you like seeing Acked-by's with your name?
I acked it because I could not come up with a better idea on how to solve this problem. Keeping the device page tables in sync with the CPU page tables (and sometimes different, when a page is migrated from system DRAM to VRAM) will require either expanded macros and generic walker functions like this, or trusting the device driver writers to correctly copy over example code and implement their own... I have seen too much copied-and-slightly modified code in drivers to develop a dislike for the second alternative. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/