summaryrefslogtreecommitdiffstats
path: root/share/man
diff options
context:
space:
mode:
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man3/pthread_attr_affinity_np.36
-rw-r--r--share/man/man3/pthread_create.335
-rw-r--r--share/man/man4/bcma.44
-rw-r--r--share/man/man4/bhnd.44
-rw-r--r--share/man/man4/bhndb.44
-rw-r--r--share/man/man4/siba.46
-rw-r--r--share/man/man4/vlan.42
-rw-r--r--share/man/man5/src.conf.514
-rw-r--r--share/man/man9/netisr.922
9 files changed, 69 insertions, 28 deletions
diff --git a/share/man/man3/pthread_attr_affinity_np.3 b/share/man/man3/pthread_attr_affinity_np.3
index ee63e7d7..56e5329 100644
--- a/share/man/man3/pthread_attr_affinity_np.3
+++ b/share/man/man3/pthread_attr_affinity_np.3
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd January 8, 2010
+.Dd June 2, 2016
.Dt PTHREAD_ATTR_AFFINITY_NP 3
.Os
.Sh NAME
@@ -132,8 +132,8 @@ Insufficient memory exists to store the cpuset mask.
.Xr cpuset 2 ,
.Xr cpuset_getid 2 ,
.Xr cpuset_setid 2 ,
-.Xr pthread_get_affinity_np 3 ,
-.Xr pthread_set_affinity_np 3
+.Xr pthread_getaffinity_np 3 ,
+.Xr pthread_setaffinity_np 3
.Sh STANDARDS
The
.Nm pthread_attr_getaffinity_np
diff --git a/share/man/man3/pthread_create.3 b/share/man/man3/pthread_create.3
index 58bef13..43d9ed2 100644
--- a/share/man/man3/pthread_create.3
+++ b/share/man/man3/pthread_create.3
@@ -30,7 +30,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd March 15, 2014
+.Dd June 2, 2016
.Dt PTHREAD_CREATE 3
.Os
.Sh NAME
@@ -101,22 +101,41 @@ indicate the error.
.Sh ERRORS
The
.Fn pthread_create
-function will fail if:
+function can return any of the following errors:
.Bl -tag -width Er
+.It Bq Er ENOMEM
+The system lacked the necessary resources to create another thread.
.It Bq Er EAGAIN
-The system lacked the necessary resources to create another thread, or
-the system-imposed limit on the total number of threads in a process
-[PTHREAD_THREADS_MAX] would be exceeded.
+The system-imposed limit on the total number of threads in a process
+.Dv [PTHREAD_THREADS_MAX]
+would be exceeded.
+.It Bq Er EAGAIN
+The
+.Dv RACCT_NTHR
+limit would be exceeded; see
+.Xr racct 2 .
.It Bq Er EPERM
-The caller does not have appropriate permission to set the required scheduling
-parameters or scheduling policy.
+The caller does not have permission to set the scheduling parameters or
+scheduling policy.
.It Bq Er EINVAL
-The value specified by
+A value specified by
.Fa attr
is invalid.
+.It Bq Er EDEADLK
+The CPU set specified by
+.Fa attr
+would prevent the thread from running on any CPU.
+.It Bq Er EFAULT
+The stack base specified by
+.Fa attr
+is invalid, or the kernel was unable to put required
+initial data on the stack.
.El
.Sh SEE ALSO
+.Xr cpuset_setaffinity 2 ,
.Xr fork 2 ,
+.Xr racct 2 ,
+.Xr thr_new 2 ,
.Xr pthread_attr 3 ,
.Xr pthread_cancel 3 ,
.Xr pthread_cleanup_pop 3 ,
diff --git a/share/man/man4/bcma.4 b/share/man/man4/bcma.4
index 792c607..3a0313c 100644
--- a/share/man/man4/bcma.4
+++ b/share/man/man4/bcma.4
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd December 8, 2015
+.Dd June 3, 2016
.Dt BCMA 4
.Os
.Sh NAME
@@ -75,4 +75,4 @@ device driver first appeared in
The
.Nm
driver was written by
-.An Landon Fuller Aq Mt landon@landonf.org .
+.An Landon Fuller Aq Mt landonf@FreeBSD.org .
diff --git a/share/man/man4/bhnd.4 b/share/man/man4/bhnd.4
index 5f683c6..e54563f 100644
--- a/share/man/man4/bhnd.4
+++ b/share/man/man4/bhnd.4
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd December 8, 2015
+.Dd June 3, 2016
.Dt BHND 4
.Os
.Sh NAME
@@ -80,4 +80,4 @@ device driver first appeared in
The
.Nm
driver was written by
-.An Landon Fuller Aq Mt landon@landonf.org .
+.An Landon Fuller Aq Mt landonf@FreeBSD.org .
diff --git a/share/man/man4/bhndb.4 b/share/man/man4/bhndb.4
index eb01f66d..66c64cf 100644
--- a/share/man/man4/bhndb.4
+++ b/share/man/man4/bhndb.4
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd December 8, 2015
+.Dd June 3, 2016
.Dt BHNDB 4
.Os
.Sh NAME
@@ -65,7 +65,7 @@ device driver first appeared in
The
.Nm
driver was written by
-.An Landon Fuller Aq Mt landon@landonf.org .
+.An Landon Fuller Aq Mt landonf@FreeBSD.org .
.Sh CAVEATS
The
.Nm
diff --git a/share/man/man4/siba.4 b/share/man/man4/siba.4
index 5750d3d..12e263b 100644
--- a/share/man/man4/siba.4
+++ b/share/man/man4/siba.4
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd January 8, 2010
+.Dd June 3, 2016
.Dt SIBA 4
.Os
.Sh NAME
@@ -88,6 +88,6 @@ and
.An Weongyo Jeong Aq Mt weongyo@FreeBSD.org .
The driver was rewritten for
-.Fx 11.0 .
+.Fx 11.0
by
-.An Landon Fuller Aq Mt landon@landonf.org .
+.An Landon Fuller Aq Mt landonf@FreeBSD.org .
diff --git a/share/man/man4/vlan.4 b/share/man/man4/vlan.4
index efdae27..a47f68c 100644
--- a/share/man/man4/vlan.4
+++ b/share/man/man4/vlan.4
@@ -203,5 +203,3 @@ can be corrected manually if used in conjunction with such a parent interface.
.Sh SEE ALSO
.Xr ifconfig 8 ,
.Xr sysctl 8
-.Sh BUGS
-No 802.1Q features except VLAN tagging are implemented.
diff --git a/share/man/man5/src.conf.5 b/share/man/man5/src.conf.5
index 1910d24..2e5dfce 100644
--- a/share/man/man5/src.conf.5
+++ b/share/man/man5/src.conf.5
@@ -1,7 +1,7 @@
.\" DO NOT EDIT-- this file is automatically generated.
.\" from FreeBSD: head/tools/build/options/makeman 292283 2015-12-15 18:42:30Z bdrewery
.\" $FreeBSD$
-.Dd May 24, 2016
+.Dd June 5, 2016
.Dt SRC.CONF 5
.Os
.Sh NAME
@@ -1062,7 +1062,7 @@ Set to not build utilities for manual pages,
.Xr manctl 8 ,
and related support files.
.It Va WITH_META_MODE
-.\" from FreeBSD: head/tools/build/options/WITH_META_MODE 300630 2016-05-24 23:15:52Z bdrewery
+.\" from FreeBSD: head/tools/build/options/WITH_META_MODE 301474 2016-06-05 23:14:06Z bdrewery
Creates
.Xr make 1
meta files when building, which can provide a reliable incremental build when
@@ -1083,9 +1083,10 @@ The command to execute changes.
.It
The current working directory changes.
.It
-The target's meta file is missing, if it had
-.Sy .META
-as a dependency.
+The target's meta file is missing.
+.It
+The target's meta file is missing filemon data when filemon is loaded
+and a previous run did not have it loaded.
.It
[requires
.Xr filemon 4 ]
@@ -1106,6 +1107,9 @@ This option originally invoked a different build system but that was renamed
to
.Va WITH_DIRDEPS_BUILD .
.Pp
+Currently this also enforces
+.Va WITHOUT_SYSTEM_COMPILER .
+.Pp
This must be set in the environment, make command line, or
.Pa /etc/src-env.conf ,
not
diff --git a/share/man/man9/netisr.9 b/share/man/man9/netisr.9
index 63112be..ac648d1 100644
--- a/share/man/man9/netisr.9
+++ b/share/man/man9/netisr.9
@@ -27,7 +27,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd January 11, 2015
+.Dd June 3, 2016
.Dt NETISR 9
.Os
.Sh NAME
@@ -61,6 +61,16 @@
.Fn netisr_get_cpucount "void"
.Ft u_int
.Fn netisr_get_cpuid "u_int cpunumber"
+.Pp
+With optional virtual network stack support enabled via the following kernel
+compile option:
+.Bd -ragged -offset indent
+.Cd "options VIMAGE"
+.Ed
+.Ft void
+.Fn netisr_register_vnet "const struct netisr_handler *nhp"
+.Ft void
+.Fn netisr_unregister_vnet "const struct netisr_handler *nhp"
.Sh DESCRIPTION
The
.Nm
@@ -80,6 +90,16 @@ and may also manage queue limits and statistics using the
and
.Fn netisr_setqlimit .
.Pp
+In case of VIMAGE kernels each virtual network stack (vnet), that is not the
+default base system network stack, calls
+.Fn netisr_register_vnet
+and
+.Fn netisr_unregister_vnet
+to enable or disable packet processing by the
+.Nm
+for each protocol.
+Disabling will also purge any outstanding packet from the protocol queue.
+.Pp
.Nm
supports multi-processor execution of handlers, and relies on a combination
of source ordering and protocol-specific ordering and work-placement
OpenPOWER on IntegriCloud