]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
Partial MFC of r212370. np@ requested this functionality so I kept in
authormdf <mdf@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 1 Jun 2011 18:26:59 +0000 (18:26 +0000)
committermdf <mdf@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 1 Jun 2011 18:26:59 +0000 (18:26 +0000)
commitdf3dd0f5aff01a916fb02d05964adcb29f8966e3
tree6a4123fd271692fbdd617db1ca121fe8d0563f1e
parent280787614ded41c63ff11825995834649977bb9b
Partial MFC of r212370.  np@ requested this functionality so I kept in
the cxgb change, but otherwise MFC'd only the new function
sbuf_new_for_sysctl(9) and none of the changed code.

MFC r217830:

Document sbuf_new_for_sysctl(9).

Partial MFC of r217916:

Explicitly wire the user buffer rather than doing it implicitly in
sbuf_new_for_sysctl(9).  This allows using an sbuf with a SYSCTL_OUT
drain for extremely large amounts of data where the caller knows that
appropriate references are held, and sleeping is not an issue.

git-svn-id: svn://svn.freebsd.org/base/stable/8@222579 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
share/man/man9/Makefile
share/man/man9/sbuf.9
sys/dev/cxgb/cxgb_sge.c
sys/kern/kern_sysctl.c
sys/kern/subr_sbuf.c
sys/sys/sysctl.h