git: sendfile: Block or return EAGAIN, iff we are really short of space

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Sun Jan 22 06:02:12 PST 2012


commit 9f8501871094e35f9e2088f5983165f0faf6a763
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Sun Jan 22 21:59:30 2012 +0800

    sendfile: Block or return EAGAIN, iff we are really short of space
    
    Send sockbuf's lowat could be quite "high" (hiwat/2), the originally
    code actually only uses 1/2 of the send sockbuf space, thus poor
    performance.

Summary of changes:
 sys/kern/uipc_syscalls.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9f8501871094e35f9e2088f5983165f0faf6a763


-- 
DragonFly BSD source repository





More information about the Commits mailing list