lang/cim: Mark DEPRECATED
- Switch to DISTVERSION while I am here
- Upstream WWW and MASTER_SITES is no longer available
- Set EXPIRATION_DATE 2026-11-17
(cherry picked from commit 796dca98ee5dc2856dea5a61971572b663fd8696)
lang/cim: Mark DEPRECATED
- Switch to DISTVERSION while I am here
- Upstream WWW and MASTER_SITES is no longer available
- Set EXPIRATION_DATE 2026-11-17
beaglebone: fix sysctl hw.clk crashing the kernel
The clock gate driver on the beaglebone black did not provide a clock rate function, but a clock rate function is mandatory. This caused a null pointer dereference when running "sysctl hw.clk".
[libc][math] Add float-only implementation of tanf (#233046)
Reorganize tanf in the same way as sinf and cosf (#226529):
src/__support/math/tanf.h now selects the implementation, and
tanf_<type>_eval.h implements tanf with <type> as the intermediate
computational type. The existing implementation moves unchanged to
tanf_double_eval.h.
The new float-only implementation in tanf_float_eval.h is selected
under the same conditions as sinf/cosf float_eval:
LIBC_MATH_SKIP_ACCURATE_PASS, LIBC_MATH_SMALL_TABLES or
LIBC_MATH_INTERMEDIATE_COMP_IN_FLOAT, and FMA. It reuses the float range
reduction and the SIN_K_PI_OVER_8 table from sincosf_float_eval.h and
computes:
tan(x) = (sin_k + cos_k * tan(y)) / (cos_k - sin_k * tan(y)),
with x = k * pi/8 + y, |y| <= pi/16, and tan(y) approximated by a
degree-9
[20 lines not shown]
sun4v: Introduce a SAVE_WINREGS macro for future debugging.
To be used for tracing stability issues in the kernel.
The SAVE_WINREGS macro can be called from relevant places
in the locore.s file to dump the contents of all the register windows.
Function for printing out the contents of the debug area will be
added later.
*/R-cran-*: Fix pkg-plist issue after R-4.6.0
R 4.6.0 started installing README.md files with HTML help.
Reviewed by: thierry
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D60844
raidz: write the scratch uberblocks on non-debug builds
raidz_reflow_scratch_sync() records the progress of the scratch phase
of a RAID-Z expansion in two uberblocks: one before the start of the
vdev is overwritten with its reflowed contents, one after. Both are
written through ASSERT0(vdev_uberblock_sync_list(...)). Without
ZFS_DEBUG, ASSERT0() does not evaluate its argument, so neither
uberblock is written, while the debug messages still say they were.
If the system stops after that overwrite and before the next txg's
uberblock, the import finds no scratch state and skips
vdev_raidz_reflow_copy_scratch(). The scratch copy is then redone from
data that was already reflowed, which corrupts the region it covers.
Use VERIFY0(), as vdev_raidz_reflow_copy_scratch() already does for
the same call.
Reviewed-by: Matthew Ahrens <matt at mahrens.org>
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Tigerblue77 <37409593+tigerblue77 at users.noreply.github.com>
Closes #19440