DragonFly BSD
DragonFly commits List (threaded) for 2012-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 22 Jan 2012 06:02:12 -0800 (PST)

commit 9f8501871094e35f9e2088f5983165f0faf6a763
Author: Sepherosa Ziehau <sephe@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]