Agreed.
> The only other place which springs to mind is sendfile(), and in theory
> we allow users to use sendfile() for fast file copy. That will break
> the cache badly if we just rely on the KERNEL_DS test.
For 2.2.x, we might just say that "sendfile()" really is a SENDfile(), and
it not necessarily cache-coherent for file-file copies.
It's a trade-off - do you do the cheezy two-liner that gets the basic
cases right, or do you do the more complex solution that should get
everything right but might have some subtle problem.
I will accept either from Alan.
Linus
-
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/