Deleted Added
full compact
sysctl_add_oid.9 (255498) sysctl_add_oid.9 (267936)
1.\"
2.\" Copyright (c) 2000, Andrzej Bialecki <abial@FreeBSD.org>
3.\" All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright

--- 11 unchanged lines hidden (view full) ---

20.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26.\" SUCH DAMAGE.
27.\"
1.\"
2.\" Copyright (c) 2000, Andrzej Bialecki <abial@FreeBSD.org>
3.\" All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright

--- 11 unchanged lines hidden (view full) ---

20.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26.\" SUCH DAMAGE.
27.\"
28.\" $FreeBSD: head/share/man/man9/sysctl_add_oid.9 255498 2013-09-12 20:49:20Z jhb $
28.\" $FreeBSD: head/share/man/man9/sysctl_add_oid.9 267936 2014-06-26 21:44:30Z bapt $
29.\"
30.Dd September 12, 2013
31.Dt SYSCTL_ADD_OID 9
32.Os
33.Sh NAME
34.Nm sysctl_add_oid ,
35.Nm sysctl_move_oid ,
36.Nm sysctl_remove_oid

--- 485 unchanged lines hidden (view full) ---

522.Xr sysctl 8 ,
523.Xr sysctl 9 ,
524.Xr sysctl_ctx_free 9 ,
525.Xr sysctl_ctx_init 9
526.Sh HISTORY
527These functions first appeared in
528.Fx 4.2 .
529.Sh AUTHORS
29.\"
30.Dd September 12, 2013
31.Dt SYSCTL_ADD_OID 9
32.Os
33.Sh NAME
34.Nm sysctl_add_oid ,
35.Nm sysctl_move_oid ,
36.Nm sysctl_remove_oid

--- 485 unchanged lines hidden (view full) ---

522.Xr sysctl 8 ,
523.Xr sysctl 9 ,
524.Xr sysctl_ctx_free 9 ,
525.Xr sysctl_ctx_init 9
526.Sh HISTORY
527These functions first appeared in
528.Fx 4.2 .
529.Sh AUTHORS
530.An Andrzej Bialecki Aq abial@FreeBSD.org
530.An Andrzej Bialecki Aq Mt abial@FreeBSD.org
531.Sh BUGS
532Sharing nodes between many code sections
533causes interdependencies that sometimes may lock the resources.
534For example,
535if module A hooks up a subtree to an oid created by module B,
536module B will be unable to delete that oid.
537These issues are handled properly by sysctl contexts.
538.Pp
539Many operations on the tree involve traversing linked lists.
540For this reason, oid creation and removal is relatively costly.
531.Sh BUGS
532Sharing nodes between many code sections
533causes interdependencies that sometimes may lock the resources.
534For example,
535if module A hooks up a subtree to an oid created by module B,
536module B will be unable to delete that oid.
537These issues are handled properly by sysctl contexts.
538.Pp
539Many operations on the tree involve traversing linked lists.
540For this reason, oid creation and removal is relatively costly.