svn commit: r221993 - in head/sys: kern sys

Poul-Henning Kamp phk at phk.freebsd.dk
Mon May 16 20:47:09 UTC 2011


In message <BANLkTin15ap=L5q6Ji45B8-EQm9Gg7q8qQ at mail.gmail.com>, mdf at FreeBSD.or
g writes:

>> Log:
>> Change the length quantities of sbufs to be ssize_t rather than int.
>
>Why?
>
>Do we really expect someone to put more than 2GB
>into something that is a string buffer?

That is exactly why I am doing it.

sbufs have gained a life outside FreeBSD, and while that particular
implementation has different internals, I would prefer if we can
keep the API unified across platforms.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the svn-src-all mailing list