|
Revision tags: release/13.4.0-p5, release/13.5.0-p1, release/14.2.0-p3, release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0, release/13.4.0 |
|
| #
2495f569 |
| 30-Jul-2024 |
Dag-Erling Smørgrav <[email protected]> |
filemon: Document how to build into the kernel.
MFC after: 3 days Reviewed by: olce, imp Differential Revision: https://reviews.freebsd.org/D46184
(cherry picked from commit 057453ffdf57bdfcbadb5d1
filemon: Document how to build into the kernel.
MFC after: 3 days Reviewed by: olce, imp Differential Revision: https://reviews.freebsd.org/D46184
(cherry picked from commit 057453ffdf57bdfcbadb5d1834d425812e01ff43)
filemon: Not an option.
MFC after: 3 days
(cherry picked from commit b4e4512d4669267fb220b7c1a2844c506673a3ce)
show more ...
|
|
Revision tags: release/14.1.0 |
|
| #
4ecd329b |
| 14-Apr-2024 |
John Baldwin <[email protected]> |
sys: Retire the ISCSI_INITIATOR_DEBUG option
This was used by the old iSCSI initiator, not the current one.
Reported by: trasz
(cherry picked from commit f3f04c4027a71421b38094bb22e3aa4710ddcc38)
|
|
Revision tags: release/13.3.0 |
|
| #
faf66c37 |
| 18-Feb-2024 |
Bjoern A. Zeeb <[email protected]> |
ath(4): always enable 11n
Enabling 11n for ath(4) so far was handled by a kernel option, which was only enabled for certain kernel configurations. In order to allow loading ath(4) as a module with 1
ath(4): always enable 11n
Enabling 11n for ath(4) so far was handled by a kernel option, which was only enabled for certain kernel configurations. In order to allow loading ath(4) as a module with 11n support on all platforms, remove the kernel option and unconditionally enable 11n in ath(4).
Reported by: pkubaj Reviewed by: adrian, imp
(cherry picked from commit 89c1e54a71cc4e04d4c575ee6df956a12e163cde)
show more ...
|
| #
e4a5a27b |
| 04-Dec-2023 |
Gleb Smirnoff <[email protected]> |
hpts: remove from opt_inet.h
No conditionally compilable code left. The hpts.ko is fully functional.
Reviewed by: imp, tuexen, rrs Differential Revision: https://reviews.freebsd.org/D42859
(cher
hpts: remove from opt_inet.h
No conditionally compilable code left. The hpts.ko is fully functional.
Reviewed by: imp, tuexen, rrs Differential Revision: https://reviews.freebsd.org/D42859
(cherry picked from commit 4b92c7721deecdc2117490ce3bc74f9cafc186d8)
show more ...
|
|
Revision tags: release/14.0.0 |
|
| #
123fd2a9 |
| 18-Oct-2023 |
Dag-Erling Smørgrav <[email protected]> |
Add the BBR and RACK stacks to the LINT kernel.
While here, drop the EXTRA_TCP_STACKS option, which serves no purpose and should never have been added. Instead, build bbr and rack as long as either
Add the BBR and RACK stacks to the LINT kernel.
While here, drop the EXTRA_TCP_STACKS option, which serves no purpose and should never have been added. Instead, build bbr and rack as long as either or both of INET and INET6 is enabled. There is no risk to anyone who doesn't load one or both and then twiddle the relevant sysctls.
Differential Revision: https://reviews.freebsd.org/D42088
(cherry picked from commit 3a338c534154164504005beb00a3c6feb03756cc)
show more ...
|
| #
ff154988 |
| 12-Oct-2023 |
Kristof Provost <[email protected]> |
netlink: move NETLINK define to opt_global.h
Move the NETLINK define into opt_global.h so we can rely on it being set correctly, without having to remember to include opt_netlink.h. This ensures tha
netlink: move NETLINK define to opt_global.h
Move the NETLINK define into opt_global.h so we can rely on it being set correctly, without having to remember to include opt_netlink.h. This ensures that the NETLINK define is correctly set. If not we may end up with unloadable modules, due to missing symbols (such as nlmsg_get_group_writer).
PR: 274306 Reviewed by: imp, markj MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D42179
(cherry picked from commit ab393e9548f8cc0ee28499c411963b798ebb38a5)
show more ...
|
| #
803f0881 |
| 26-Sep-2023 |
Ed Maste <[email protected]> |
kernel: remove unused HWPMC_MIPS_BACKTRACE option
MIPS was removed after FreeBSD 13.
Reported by: andrew
(cherry picked from commit 5b732ae8332b2bad256016569c0ead6d918bdf79)
|
| #
031beb4e |
| 16-Aug-2023 |
Warner Losh <[email protected]> |
sys: Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
| #
077ef5b4 |
| 07-Aug-2023 |
Marius Strobl <[email protected]> |
ath(4): Remove MIPS SoC build glue and AR9130 from FreeBSD HAL
All of these are obsoleted by the general removal of MIPS support.
Actually, corresponding to the removed AH_SUPPORT_x, there is more
ath(4): Remove MIPS SoC build glue and AR9130 from FreeBSD HAL
All of these are obsoleted by the general removal of MIPS support.
Actually, corresponding to the removed AH_SUPPORT_x, there is more superfluous support sprinkled across the HAL source. However, that code is left in place for now in order to ease a sync to NetBSD.
Reviewed by: emaste (w/ man page fix) Approved by: adrian Differential Revision: https://reviews.freebsd.org/D41355
show more ...
|
| #
4ef1c6f7 |
| 26-Jul-2023 |
Marius Strobl <[email protected]> |
base: Remove support for the VTOC8 partitioning scheme
The removal of the sparc64 support in February 2020 obsoleted the VTOC8 partitioning scheme as no other FreeBSD platform makes use of it. Moreo
base: Remove support for the VTOC8 partitioning scheme
The removal of the sparc64 support in February 2020 obsoleted the VTOC8 partitioning scheme as no other FreeBSD platform makes use of it. Moreover, the code is bitrotting as nothing defines e. g. LOADER_VTOC8_SUPPORT any more and, thus, should go now, too. With this change, the following commits are reverted as far as VTOC8 is concerned and parts haven't already previously been deleted along with prior sparc64 removals: 094fcb157d4c98211899cf09d06e2cf19149b7e0 a7d366e9589c95feda6f3bc78c59c6355d51f126 ba8d50d08b9df4e8213f9a6997ff6792ecebcd9b
The alignment example d9711c28efc4ec89ba5ea11f8fd63e9d0a7fc81b added to the VTOC8 section of gpart.8 is folded into the MBR one.
This should finally conclude the deorbit of sparc64-specific bits.
We had joy, we had fun we ran Unix on a Sun. But that source and the song of FreeBSD have all gone.
Credits to Michael Bueker for the original "Unix on a Sun" and Rod McKuen for the "Seasons in the Sun" lyrics.
show more ...
|
| #
215bab79 |
| 25-Jul-2023 |
Shivank Garg <[email protected]> |
mac_ipacl: new MAC policy module to limit jail/vnet IP configuration
The mac_ipacl policy module enables fine-grained control over IP address configuration within VNET jails from the base system. It
mac_ipacl: new MAC policy module to limit jail/vnet IP configuration
The mac_ipacl policy module enables fine-grained control over IP address configuration within VNET jails from the base system. It allows the root user to define rules governing IP addresses for jails and their interfaces using the sysctl interface.
Requested by: multiple Sponsored by: Google, Inc. (GSoC 2019) MFC after: 2 months Reviewed by: bz, dch (both earlier versions) Differential Revision: https://reviews.freebsd.org/D20967
show more ...
|
| #
96eb0d90 |
| 28-Jun-2023 |
Randall Stewart <[email protected]> |
tcp: With the right options in the kernel cc_cubic stays in slowstart always.
So this is a subtle bug I have found in cubic. If you compile a number of options into the kernel (accounting and tracki
tcp: With the right options in the kernel cc_cubic stays in slowstart always.
So this is a subtle bug I have found in cubic. If you compile a number of options into the kernel (accounting and tracking) then all of the kernel code "knows" the proper offset of t_rttupdatecnt however cubic does not see the options (and htcp too) and thus will look for the count in the wrong place seeing 0. Which then means it never builds an MIN RTT which then means it always hangs in slowstart.
The solution is to put all options that effect tcpcb size into the opt_global.h so that the kernel has a consistent view of the tcpcb size.
Reviewed by: tuexen, rscheff Sponsored by: Netflix Inc Differential Revision:https://reviews.freebsd.org/D40761
show more ...
|
| #
2404380a |
| 29-May-2023 |
Colin Percival <[email protected]> |
tslog: Optionally instrument pmap_zero_page
Booting an amd64 kernel on Firecracker with 1 CPU and 128 MB of RAM, pmap_zero_page is responsible for 4.6 ms of the 25.0 ms of boot time. This is not in
tslog: Optionally instrument pmap_zero_page
Booting an amd64 kernel on Firecracker with 1 CPU and 128 MB of RAM, pmap_zero_page is responsible for 4.6 ms of the 25.0 ms of boot time. This is not in fact time spent zeroing pages though; almost all of that time is spent in a first-touch penalty, presumably due to the host Linux kernel faulting in backing pages one by one.
There's probably a way to improve that by teaching Firecracker to fault in all the VM's pages from the start rather than having them faulted in one at a time, but that's outside of FreeBSD's control.
This commit adds a TSLOG_PAGEZERO option which enables TSLOG on the amd64 pmap_zero_page function; it's a separate option (turned off by default even if TSLOG is enabled) since zeroing pages happens enough that it can easily fill the TSLOG buffer and prevent other timing information from being recorded.
Sponsored by: https://www.patreon.com/cperciva Differential Revision: https://reviews.freebsd.org/D40326
show more ...
|
| #
945f9a7c |
| 07-Apr-2023 |
Randall Stewart <[email protected]> |
tcp: misc cleanup of options for rack as well as socket option logging.
Both BBR and Rack have the ability to log socket options, which is currently disabled. Rack has an experimental SaD (Sack Atta
tcp: misc cleanup of options for rack as well as socket option logging.
Both BBR and Rack have the ability to log socket options, which is currently disabled. Rack has an experimental SaD (Sack Attack Detection) algorithm that should be made available. Also there is a t_maxpeak_rate that needs to be removed (its un-used).
Reviewed by: tuexen, cc Sponsored by: Netflix Inc Differential Revision: https://reviews.freebsd.org/D39427
show more ...
|
|
Revision tags: release/13.2.0 |
|
| #
73ee5756 |
| 01-Apr-2023 |
Randall Stewart <[email protected]> |
Fixes in the tcp infrastructure with respect to stack changes as well as other infrastructure updates for incoming rack features.
So stack switching as always been a bit of a issue. We currently use
Fixes in the tcp infrastructure with respect to stack changes as well as other infrastructure updates for incoming rack features.
So stack switching as always been a bit of a issue. We currently use a break before make setup which means that if something goes wrong you have to try to get back to a stack. This patch among a lot of other things changes that so that it is a make before break. We also expand some of the function blocks in prep for new features in rack that will allow more controlled pacing. We also add other abilities such as the pathway for a stack to query a previous stack to acquire from it critical state information so things in flight don't get dropped or mis-handled when switching stacks. We also add the concept of a timer granularity. This allows an alternate stack to change from the old ticks granularity to microseconds and of course this even gives us a pathway to go to nanosecond timekeeping if we need to (something for the data center to consider for sure).
Once all this lands I will then update rack to begin using all these new features.
Reviewed by: tuexen Sponsored by: Netflix Inc Differential Revision: https://reviews.freebsd.org/D39210
show more ...
|
| #
19e43c16 |
| 27-Mar-2023 |
Alexander V. Chernikov <[email protected]> |
netlink: add netlink KPI to the kernel by default
This change does the following:
Base Netlink KPIs (ability to register the family, parse and/or write a Netlink message) are always present in the
netlink: add netlink KPI to the kernel by default
This change does the following:
Base Netlink KPIs (ability to register the family, parse and/or write a Netlink message) are always present in the kernel. Specifically, * Implementation of genetlink family/group registration/removal, some base accessors (netlink_generic_kpi.c, 260 LoC) are compiled in unconditionally. * Basic TLV parser functions (netlink_message_parser.c, 507 LoC) are compiled in unconditionally. * Glue functions (netlink<>rtsock), malloc/core sysctl definitions (netlink_glue.c, 259 LoC) are compiled in unconditionally. * The rest of the KPI _functions_ are defined in the netlink_glue.c, but their implementation calls a pointer to either the stub function or the actual function, depending on whether the module is loaded or not.
This approach allows to have only 1k LoC out of ~3.7k LoC (current sys/netlink implementation) in the kernel, which will not grow further. It also allows for the generic netlink kernel customers to load successfully without requiring Netlink module and operate correctly once Netlink module is loaded.
Reviewed by: imp MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D39269
show more ...
|
| #
69c7c811 |
| 16-Mar-2023 |
Randall Stewart <[email protected]> |
Move access to tcp's t_logstate into inline functions and provide new tracepoint and bbpoint capabilities.
The TCP stacks have long accessed t_logstate directly, but in order to do tracepoints and t
Move access to tcp's t_logstate into inline functions and provide new tracepoint and bbpoint capabilities.
The TCP stacks have long accessed t_logstate directly, but in order to do tracepoints and the new bbpoints we need to move to using the new inline functions. This adds them and moves rack to now use the tcp_tracepoints.
Reviewed by: tuexen, gallatin Sponsored by: Netflix Inc Differential Revision: https://reviews.freebsd.org/D38831
show more ...
|
| #
105a4f7b |
| 09-Mar-2023 |
Brooks Davis <[email protected]> |
ng_atmllc: remove
This standalone module is the last vestage of ATM support in the tree so send it on its way.
Reviewed by: manu, emaste Relnotes: yes Sponsored by: DARPA Differential Revision: htt
ng_atmllc: remove
This standalone module is the last vestage of ATM support in the tree so send it on its way.
Reviewed by: manu, emaste Relnotes: yes Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D38880
show more ...
|
| #
af0cc0b2 |
| 09-Mar-2023 |
Brooks Davis <[email protected]> |
NgATM: Remove netgraph ATM support
Most ATM support was removed prior to FreeBSD 12. The netgraph support was kept as it was less intrusive, but it is presumed to be unused.
Reviewed by: manu Reln
NgATM: Remove netgraph ATM support
Most ATM support was removed prior to FreeBSD 12. The netgraph support was kept as it was less intrusive, but it is presumed to be unused.
Reviewed by: manu Relnotes: yes Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D38879
show more ...
|
| #
bd32aede |
| 02-Mar-2023 |
Brooks Davis <[email protected]> |
NgATM: Remove useless NGATM_ATM option
MFC after: 3 days
Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D38875
|
| #
3746e901 |
| 02-Mar-2023 |
Brooks Davis <[email protected]> |
NATM: Remove useless NETGRAPH_ATM_ATMPIF option
This code was removed as part of the NATM removal in 2017 and somehow this option was missed.
MFC after: 3 days
Reviewed by: emaste Differential Rev
NATM: Remove useless NETGRAPH_ATM_ATMPIF option
This code was removed as part of the NATM removal in 2017 and somehow this option was missed.
MFC after: 3 days
Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D38874
show more ...
|
| #
c51978f4 |
| 18-Feb-2023 |
Michael Paepcke <[email protected]> |
kbd: add KBD_DELAY1 and KBD_DELAY2
Allow to configure KBD_DELAY* via KERNCONF for user-land less embedded and security appliances
Reviewed by: imp (folded) Pull Request: https://github.com/freebsd/
kbd: add KBD_DELAY1 and KBD_DELAY2
Allow to configure KBD_DELAY* via KERNCONF for user-land less embedded and security appliances
Reviewed by: imp (folded) Pull Request: https://github.com/freebsd/freebsd-src/pull/649
show more ...
|
| #
06c07e12 |
| 13-Feb-2023 |
Dmitry Chagin <[email protected]> |
Complete removal of opt_compat.h
Since Linux emulation layer build options was removed there is no reason to keep opt_compat.h.
Reviewed by: emaste Differential Revision: https://reviews.freebsd.o
Complete removal of opt_compat.h
Since Linux emulation layer build options was removed there is no reason to keep opt_compat.h.
Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D38548 MFC after: 2 weeks
show more ...
|
| #
69d94f4c |
| 02-Feb-2023 |
Dag-Erling Smørgrav <[email protected]> |
Add tarfs, a filesystem backed by tarballs.
Sponsored by: Juniper Networks, Inc. Sponsored by: Klara, Inc. Reviewed by: pauamma, imp Differential Revision: https://reviews.freebsd.org/D37753
|
| #
c9313a0b |
| 22-Dec-2022 |
Alexander V. Chernikov <[email protected]> |
netlink: allow netlink to be build in the kernel
Differential Revision: https://reviews.freebsd.org/D37781
|