Revision tags: release/14.0.0 |
|
#
04f683b2 |
| 18-Aug-2023 |
Konstantin Belousov <kib@FreeBSD.org> |
subr_unit.c: another attempt to fix the build
Reported by: cy Sponsored by: The FreeBSD Foundation MFC after: 1 week
|
#
1384a0b9 |
| 18-Aug-2023 |
Konstantin Belousov <kib@FreeBSD.org> |
kern/subr_unit.c: fix non-debug build
Sponsored by: The FreeBSD Foundation MFC after: 1 week
|
#
95ee2897 |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove $FreeBSD$: two-line .h pattern
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
|
#
12db3c91 |
| 13-May-2023 |
Konstantin Belousov <kib@FreeBSD.org> |
unr(9) iterator: add naive test
To use, compile userspace code e.g. into the subr_unit binary, then do $ while ./subr_unit -iv >|/tmp/subr_unit.log ; do :; done The loop should be left run for as l
unr(9) iterator: add naive test
To use, compile userspace code e.g. into the subr_unit binary, then do $ while ./subr_unit -iv >|/tmp/subr_unit.log ; do :; done The loop should be left run for as long as possible.
Reviewed by: markj Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D40089
show more ...
|
#
c4cc0cab |
| 25-May-2023 |
Konstantin Belousov <kib@FreeBSD.org> |
unr(9): add 'show unrhdr_iter' command
Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D40089
|
#
a014e0a3 |
| 13-May-2023 |
Konstantin Belousov <kib@FreeBSD.org> |
unr(9): add iterator interface
Reviewed by: markj Tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D40089
|
#
f386b277 |
| 25-May-2023 |
Konstantin Belousov <kib@FreeBSD.org> |
unr(9): add 'show unrhdr' ddb command
Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D40089
|
#
d44f4770 |
| 15-May-2023 |
Konstantin Belousov <kib@FreeBSD.org> |
subr_unit.c: explain first/last special ranges
Reviewed by: markj Tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D40089
|
#
36b1f8a8 |
| 13-May-2023 |
Konstantin Belousov <kib@FreeBSD.org> |
kern/subr_unit.c: more uses for is_bitmap()
To facilitate it, move the is_bitmap() definition earlier.
Reviewed by: markj Tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 1 week Diffe
kern/subr_unit.c: more uses for is_bitmap()
To facilitate it, move the is_bitmap() definition earlier.
Reviewed by: markj Tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D40089
show more ...
|
#
042ec55f |
| 13-May-2023 |
Konstantin Belousov <kib@FreeBSD.org> |
kern/subr_unit.c: some style
Use NBBY instead of spelling '8' literally. Put space into the type specifier.
Reviewed by: markj Tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 1 week
kern/subr_unit.c: some style
Use NBBY instead of spelling '8' literally. Put space into the type specifier.
Reviewed by: markj Tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D40089
show more ...
|
#
4d846d26 |
| 10-May-2023 |
Warner Losh <imp@FreeBSD.org> |
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause.
Discussed with: pfg MFC After: 3 days Sponsored by: Netflix
show more ...
|
Revision tags: release/13.2.0, release/12.4.0 |
|
#
143942f9 |
| 08-Oct-2022 |
Mateusz Guzik <mjg@FreeBSD.org> |
unr: remove UNR64_LOCKED
All platforms support 64-bit atomics now.
|
Revision tags: release/13.1.0 |
|
#
6fe78ad4 |
| 28-Apr-2022 |
Konstantin Belousov <kib@FreeBSD.org> |
subr_unit.c: make userspace tests buildable
by defining a placeholder for UNR_NO_MTX
Sponsored by: The FreeBSD Foundation MFC after: 1 week
|
#
e59b940d |
| 21-Apr-2022 |
Konstantin Belousov <kib@FreeBSD.org> |
unr(9): allow to avoid internal locking
Reviewed by: markj Tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D35014
|
#
c4be460e |
| 20-Apr-2022 |
Konstantin Belousov <kib@FreeBSD.org> |
init_unrhdr(): make it usable by initializing everything
Reviewed by: markj Tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D
init_unrhdr(): make it usable by initializing everything
Reviewed by: markj Tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D35014
show more ...
|
Revision tags: release/12.3.0, release/13.0.0, release/12.2.0 |
|
#
6fed89b1 |
| 02-Sep-2020 |
Mateusz Guzik <mjg@FreeBSD.org> |
kern: clean up empty lines in .c and .h files
|
Revision tags: release/11.4.0 |
|
#
59abbffa |
| 31-Jan-2020 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r357270 through r357349.
|
#
3ff65f71 |
| 30-Jan-2020 |
Mateusz Guzik <mjg@FreeBSD.org> |
Remove duplicated empty lines from kern/*.c
No functional changes.
|
#
cd565040 |
| 13-Dec-2019 |
Conrad Meyer <cem@FreeBSD.org> |
kern/subr_unit: Rip srandomdev, random(3) out of dead code
The simulation cannot be reproduced, so the value of using a deterministic PRNG like random(3) is dubious. The number of repitions used in
kern/subr_unit: Rip srandomdev, random(3) out of dead code
The simulation cannot be reproduced, so the value of using a deterministic PRNG like random(3) is dubious. The number of repitions used in the sample isn't a problem for the Chacha implementation of arc4random we have today. (Also, no one actually runs this code; it was provided as an example of the work the author did validating the implementation. It's not even test code.)
show more ...
|
Revision tags: release/12.1.0, release/11.3.0, release/12.0.0 |
|
#
3d5db455 |
| 24-Nov-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r340427 through r340868.
|
#
435bef7a |
| 20-Nov-2018 |
Mateusz Guzik <mjg@FreeBSD.org> |
Implement unr64
Important users of unr like tmpfs or pipes can get away with just ever-increasing counters, making the overhead of managing the state for 32 bit counters a pessimization.
Change it
Implement unr64
Important users of unr like tmpfs or pipes can get away with just ever-increasing counters, making the overhead of managing the state for 32 bit counters a pessimization.
Change it to an atomic variable. This can be further sped up by making the counts variable "allocate" ranges and store them per-cpu.
Reviewed by: kib Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D18054
show more ...
|
Revision tags: release/11.2.0 |
|
#
8a36da99 |
| 27-Nov-2017 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
sys/kern: adoption of SPDX licensing ID tags.
Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone
sys/kern: adoption of SPDX licensing ID tags.
Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task.
The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts.
show more ...
|
#
c2c014f2 |
| 07-Nov-2017 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Merge ^/head r323559 through r325504.
|
#
0a8f81bc |
| 22-Oct-2017 |
Enji Cooper <ngie@FreeBSD.org> |
MFhead@r324837
While here, diff reduce some of the changes in sys/boot by moving MK_COVERAGE=no to sys/boot/Makefile.inc .
|
#
0d8e0405 |
| 16-Oct-2017 |
Matt Joras <mjoras@FreeBSD.org> |
Properly reset the fields in clean_unrhdr.
In r324542 I neglected to reset the first and last fields of struct unrhdr. This causes a tmpfs to fail the unr(9) consistency checks with DIAGNOSTIC on. F
Properly reset the fields in clean_unrhdr.
In r324542 I neglected to reset the first and last fields of struct unrhdr. This causes a tmpfs to fail the unr(9) consistency checks with DIAGNOSTIC on. Fix this by resetting the fields by calling init_unrhdr. While here, change a loop to use TAILQ_FOREACH_SAFE since it is more readable and equally fast.
Reported by: David Wolfskill <david@catwhisker.org> Approved by: rstone (mentor) Sponsored by: Dell EMC Isilon
show more ...
|