On (09/10/2009 15:49), Yoshihiro Ota wrote:
> Could someone explain what was the cause and why this fixes the issue?
>
> When I read it, it looked like that a vm object could be in 2 locations
> and one of them looked the cause of the problem.
> But I couldn't figure out thereafter.
kern_sendfile
Could someone explain what was the cause and why this fixes the issue?
When I read it, it looked like that a vm object could be in 2 locations
and one of them looked the cause of the problem.
But I couldn't figure out thereafter.
Thanks,
Hiro
On Wed, 7 Oct 2009 23:17:15 + (UTC)
Xin LI wrote
Author: delphij
Date: Wed Oct 7 23:17:15 2009
New Revision: 197850
URL: http://svn.freebsd.org/changeset/base/197850
Log:
Add a special workaround to handle UIO_NOCOPY case. This fixes data
corruption observed when sendfile() is being used.
PR: kern/127213
Submitted by: gk