#
e9ac4169 |
| 15-Jul-2024 |
Warner Losh <imp@FreeBSD.org> |
Remove residual blank line at start of Makefile
This is a residual of the $FreeBSD$ removal.
MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
|
Revision tags: release/14.1.0 |
|
#
91da6bec |
| 21-Apr-2024 |
Konstantin Belousov <kib@FreeBSD.org> |
pthread_sigqueue(3): document
Reviewed by: markj Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D44867
|
#
7f479dee |
| 08-Apr-2024 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
sys/queue.h: Add {LIST,TAILQ}_REPLACE().
MFC after: 1 week Obtained from: NetBSD Sponsored by: Klara, Inc. Reviewed by: cperciva, imp Differential Revision: https://reviews.freebsd.org/D44679
|
Revision tags: release/13.3.0 |
|
#
97759ccc |
| 23-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
share: Remove ancient SCCS tags.
Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a perl
share: Remove ancient SCCS tags.
Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a perl script.
Sponsored by: Netflix
show more ...
|
Revision tags: release/14.0.0 |
|
#
e6615b10 |
| 07-Sep-2023 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
include: Implement N2867.
This adds macros for checked addition, subtraction, and multiplication with semantics similar to the builtins gcc and clang have had for years.
Reviewed by: kib, emaste Di
include: Implement N2867.
This adds macros for checked addition, subtraction, and multiplication with semantics similar to the builtins gcc and clang have had for years.
Reviewed by: kib, emaste Differential Revision: https://reviews.freebsd.org/D41734
show more ...
|
#
d0b2dbfa |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
Revision tags: release/13.2.0 |
|
#
7f2109f2 |
| 16-Jan-2023 |
Alexander V. Chernikov <melifaro@FreeBSD.org> |
netlink: add snl(3) manpage to the build
|
Revision tags: release/12.4.0 |
|
#
b16f993e |
| 21-Sep-2022 |
Doug Moore <dougm@FreeBSD.org> |
rb_tree: augmentation shortcut
RB-tree augmentation maintains data in each node of the tree that represents the product of some associative operator applied to all the nodes of the subtree rooted at
rb_tree: augmentation shortcut
RB-tree augmentation maintains data in each node of the tree that represents the product of some associative operator applied to all the nodes of the subtree rooted at that node. If a node in the tree changes, augmentation data for the node is updated for that node and all nodes on the path from that node to the tree root. However, sometimes, augmenting a node changes no data in that node, particularly if the associated operation is something involving 'max' or 'min'. If augmentation changes nothing in a node, then the work of walking to the tree root from that point is pointless, because augmentation will change nothing in those nodes either. This change makes it possible to avoid that wasted work.
Define RB_AUGMENT_CHECK as a macro much like RB_AUGMENT, but which returns a value 'true' when augmentation changes the augmentation data of a node, and false otherwise. Change code that unconditionally walks and augments to the top of tree to code that stops once an augmentation has no effect. In the case of rebalancing the tree after insertion or deletion, where previously a node rotated into the path was inevitably augmented on the march to the tree root, now check to see if it needs augmentation because the march to the tree root stopped before reaching it.
Change the augmentation function in iommu_gas.c so that it returns true/false to indicate whether the augmentation had any effect.
Reviewed by: alc, kib MFC after: 3 weeks Differential Revision: https://reviews.freebsd.org/D36509
show more ...
|
#
a8380d27 |
| 19-Jun-2022 |
Doug Moore <dougm@FreeBSD.org> |
tree.3: document RB_AUGMENT
Document the RB_AUGMENT macro, and provide an example of its use. Reviewed by: alc, kib MFC after: 3 weeks Differential Revision: https://reviews.freebsd.org/D35518
|
Revision tags: release/13.1.0 |
|
#
15a28c00 |
| 25-Apr-2022 |
Mark Johnston <markj@FreeBSD.org> |
man3: Add links for some bitstring(3) routines
MFC after: 1 week Sponsored by: The FreeBSD Foundation
|
Revision tags: release/12.3.0 |
|
#
df7d7638 |
| 07-Oct-2021 |
Felix Johnson <felix.the.red@gmail.com> |
pthread_np.3: Add a manpage summarizing all of the pthread extensions.
PR: 197299 MFC after: 1 week
|
#
6bda1920 |
| 01-Oct-2021 |
Konstantin Belousov <kib@FreeBSD.org> |
pthread_mutexattr(3): install pthread_mutexattr_get/setpshared links
Reviewed by: markj Sponsored by: The FreeBSD Foundation MFC after: 3 days Differential revision: https://reviews.freebsd.org/D322
pthread_mutexattr(3): install pthread_mutexattr_get/setpshared links
Reviewed by: markj Sponsored by: The FreeBSD Foundation MFC after: 3 days Differential revision: https://reviews.freebsd.org/D32243
show more ...
|
#
33f8d79d |
| 20-Apr-2021 |
Faraz Vahedi <kfv@kfv.io> |
assert.3: Document static_assert and _Static_assert
Reviewed by: imp, 0mp MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D29833
|
Revision tags: release/13.0.0 |
|
#
123ae304 |
| 20-Jan-2021 |
Kyle Evans <kevans@FreeBSD.org> |
build: remove LIBPTHREAD/LIBTHR build options
WITHOUT_LIBTHR has been broken for a little over five years now, since the xz 5.2.0 update introduced a hard liblzma dependency on libthr, and building
build: remove LIBPTHREAD/LIBTHR build options
WITHOUT_LIBTHR has been broken for a little over five years now, since the xz 5.2.0 update introduced a hard liblzma dependency on libthr, and building a useful system without threading support is becoming increasingly more difficult.
Additionally, in the five plus years that it's been broken more reverse dependencies have cropped up in libzstd, libsqlite3, and libcrypto (among others) that make it more and more difficult to reconcile the effort needed to fix these options.
Remove the broken options.
PR: 252760 Reviewed by: brooks, emaste, kib Differential Revision: https://reviews.freebsd.org/D28263
show more ...
|
Revision tags: release/12.2.0, release/11.4.0 |
|
#
2ef84b7d |
| 11-Jun-2020 |
Konstantin Belousov <kib@FreeBSD.org> |
Add pthread_getname_np() and pthread_setname_np() aliases for pthread_get_name_np() and pthread_set_name_np().
This re-applies r361770 after compatibility fixes.
Reviewed by: antoine, jkim, markj T
Add pthread_getname_np() and pthread_setname_np() aliases for pthread_get_name_np() and pthread_set_name_np().
This re-applies r361770 after compatibility fixes.
Reviewed by: antoine, jkim, markj Tested by: antoine (exp-run) Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D25117
show more ...
|
#
064c283d |
| 04-Jun-2020 |
Konstantin Belousov <kib@FreeBSD.org> |
Revert r361770 "Add pthread_getname_np() and pthread_setname_np() aliases" for now.
It is not compatible enough with Linux.
Requested by: antoine, jkim Sponsored by: The FreeBSD Foundation
|
#
9bed49fe |
| 03-Jun-2020 |
Konstantin Belousov <kib@FreeBSD.org> |
Add pthread_getname_np() and pthread_setname_np() aliases
for pthread_get_name_np() and pthread_set_name_np(), to be compatible with Linux.
PR: 238404 Proposed and reviewed by: markj Sponsored by:
Add pthread_getname_np() and pthread_setname_np() aliases
for pthread_get_name_np() and pthread_set_name_np(), to be compatible with Linux.
PR: 238404 Proposed and reviewed by: markj Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D25117
show more ...
|
#
b33a8b38 |
| 16-Feb-2020 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r357966 through r357999.
|
#
132fb3dc |
| 16-Feb-2020 |
Konstantin Belousov <kib@FreeBSD.org> |
Add pthread_peekjoin_np(3).
The function allows to peek at the thread exit status and even see return value, without joining (and thus finally destroying) the target thread.
Reviewed by: markj Spon
Add pthread_peekjoin_np(3).
The function allows to peek at the thread exit status and even see return value, without joining (and thus finally destroying) the target thread.
Reviewed by: markj Sponsored by: The FreeBSD Foundation (kib) MFC after: 2 weeks Differential revision: https://reviews.freebsd.org/D23676
show more ...
|
Revision tags: release/12.1.0 |
|
#
8b3bc70a |
| 08-Oct-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r352764 through r353315.
|
#
1a13f2e6 |
| 07-Oct-2019 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Introduce stats(3), a flexible statistics gathering API.
This provides a framework to define a template describing a set of "variables of interest" and the intended way for the framework to maintain
Introduce stats(3), a flexible statistics gathering API.
This provides a framework to define a template describing a set of "variables of interest" and the intended way for the framework to maintain them (for example the maximum, sum, t-digest, or a combination thereof). Afterwards the user code feeds in the raw data, and the framework maintains these variables inside a user-provided, opaque stats blobs. The framework also provides a way to selectively extract the stats from the blobs. The stats(3) framework can be used in both userspace and the kernel.
See the stats(3) manual page for details.
This will be used by the upcoming TCP statistics gathering code, https://reviews.freebsd.org/D20655.
The stats(3) framework is disabled by default for now, except in the NOTES kernel (for QA); it is expected to be enabled in amd64 GENERIC after a cool down period.
Reviewed by: sef (earlier version) Obtained from: Netflix Relnotes: yes Sponsored by: Klara Inc, Netflix Differential Revision: https://reviews.freebsd.org/D20477
show more ...
|
#
a5adff0e |
| 28-Sep-2019 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Rename ARB_REBALANCE(3) to ARB_REINSERT(3) to match tree(3), and document it.
MFC after: 2 weeks Sponsored by: Klara Inc, Netflix
|
#
160afacf |
| 28-Sep-2019 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Sort MLINKS for arb(3), and actually make them work by fixing a '=' vs '+=' mixup.
MFC after: 2 weeks Sponsored by: Klara Inc, Netflix
|
#
22823764 |
| 28-Sep-2019 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Add RB_REINSERT(3), a low overhead alternative to removing a node and reinserting it back with an updated key.
This is one of dependencies for the upcoming stats(3) code.
Reviewed by: cem Obtained
Add RB_REINSERT(3), a low overhead alternative to removing a node and reinserting it back with an updated key.
This is one of dependencies for the upcoming stats(3) code.
Reviewed by: cem Obtained from: Netflix MFC after: 2 weeks Sponsored by: Klara Inc, Netflix Differential Revision: https://reviews.freebsd.org/D21786
show more ...
|
#
419f843f |
| 17-Sep-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r352319 through r352435.
|