ports-mgmt/portshaker: Prefer python:env to pythonh:build for USES
We do not need python for building, only to fill-in some variables.
python:env does exactly this.
Reported by: makc
databases/tkrzw-python: new port: Python interface for Tkrzw, successor of Kyoto Cabinet
Python interface for Tkrzw library implementing DBM with various
algorithms. Tkrzw features high degrees of performance, concurrency,
scalability and durability.
Tkrzw is a successor of Kyoto Cabinet.
WWW: https://dbmx.net/tkrzw/
PR: 289951
Reported by: Paavo-Einari Kaipila <pkaipila at gmail.com> (new maintainer)
databases/tkrzw: new port: Set of implementations of DBM, successor of Kyoto Cabinet
Tkrzw is a C++ library implementing DBM with various algorithms. It
features high degrees of performance, concurrency, scalability and
durability.
Tkrzw is a successor of Kyoto Cabinet.
WWW: https://dbmx.net/tkrzw/
PR: 289951
Reported by: Paavo-Einari Kaipila <pkaipila at gmail.com> (new maintainer)
x86: support sending non-fatal MCA messages to syslog
Currently, all MCA messages are logged to the console. However, this
can have performance implications which can turn a storm of correctable
errors into a disruptive event.
Provide an option to direct non-fatal messages to syslog. Note that
we will always log to the console for fatal errors.
Reviewed by: markj
MFC after: 2 weeks
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D12278
x86: Allow MCA messages to be rate-limited
Always print the first 50 messages of each type. After that, optionally
rate-limit the messages. This provides a way to limit the overhead of
processing excessive messages without suppressing the first few of any
type.
As part of this change, we are switching from direct printf() calls to
collecting data in an sbuf(9). In POLLED mode (run from a task queue),
we dynamically allocate the buffer. In the other modes (which are
likely called from a hardware interrupt), we use a buffer allocated
from the BSS segment and guarded by a lock. In normal operation,
most calls to mca_log() should come from the POLLED mode, so there
should be no contention for the new lock. If there is an interrupt
storm which exceeds the capacity of the free list, there will be new
contention for this lock; however, overall lock contention should
still be lower than it was prior to e770e32aa3a0, when the mca_lock
was almost always held for the entirety of the mca_log() call.
[7 lines not shown]
ports-mgmt/portshaker: Add python as a build dependency
It is not really required, but without it, the run-time dependency on
mercurial is non-functional when the MERCURIAL option is on.
Does not impact the default packagage, and poudriere will catch the new
dependency if MERCURIAL=on so no need to bump PORTREVISION.
PR: 289133
Reported by: Tassilo Philipp <tphilipp at potion-studios.com>
uma_core: Rely on domainset iterator to wait on M_WAITOK
Commit 8b987a77691d ("Use per-domain keg locks.") removed the need to
lock the keg entirely, replacing it with per-domain keg locks. In
particular, it removed the need to hold a lock over waiting for a domain
to grow free memory.
Simplify the code of keg_fetch_slab() and uma_prealloc() by removing the
M_WAITOK -> M_NOWAIT downgrade and the local call to vm_wait_doms()
(which used to necessitate temporary dropping the keg lock) which the
iterator machinery already handles on M_WAITOK (and compatibly with
vm_domainset_iter_ignore() at that, although that does not matter now).
Reviewed by: bnovkov, markj
Tested by: bnovkov
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D52441
aacraid.4: Fix document description + tag SPDX
The document description previously just stated the name of the driver.
Replace this with the name of the controller families and specs that
it supports, in a similar fashion to other RAID drivers.
MFC after: 3 days
local-unbound-setup: Set so-sndbuf to 0
Without this setting, Unbound 1.24.0 and newer will attempt to set the
socket buffer size to 4 MB to mitigate issues that mostly affect servers
with large numbers of clients on local networks, which is not a scenario
local-unbound is intended for. This is not only a waste of resources,
it can also fail, resulting in a warning message on daemon startup.
Fixes: b2efd602aea8 ("unbound: Vendor import 1.24.0")
Reviewed by: jlduran, cy
Differential Revision: https://reviews.freebsd.org/D52977
release/RPI: Add RPI Zero 2W device tree blob dtb
Enable Pi 02W support on the release SD card images by including the
device tree.
PR: 278816
MFC after: 3 days
Approved by: cperciva (re)
jail.8: Mention that vnet.interface can have multiple addresses
The vnet.interface parameter allows defining multiple interfaces,
separated by commas. Mention this in the man page.
While here, fix some other style nits that mandoc complained about.
PR: 206353
Approved by: ziaee
Differential Revision: https://reviews.freebsd.org/D52965