| #
e453e498
|
| 11-Jun-2025 |
Brooks Davis <brooks@FreeBSD.org> |
machine/stdarg.h -> sys/stdarg.h
Switch to using sys/stdarg.h for va_list type and va_* builtins.
Make an attempt to insert the include in a sensible place. Where style(9) was followed this is eas
machine/stdarg.h -> sys/stdarg.h
Switch to using sys/stdarg.h for va_list type and va_* builtins.
Make an attempt to insert the include in a sensible place. Where style(9) was followed this is easy, where it was ignored, aim for the first block of sys/*.h headers and don't get too fussy or try to fix other style bugs.
Reviewed by: imp Exp-run by: antoine (PR 286274) Pull Request: https://github.com/freebsd/freebsd-src/pull/1595
show more ...
|
| #
685dc743
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove $FreeBSD$: one-line .c pattern
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
| #
e4e91353
|
| 06-Oct-2022 |
Alexander Motin <mav@FreeBSD.org> |
ioat: Add Ice Lake ID.
MFC after: 2 weeks
|
| #
ff318bf6
|
| 09-May-2022 |
John Baldwin <jhb@FreeBSD.org> |
ioat: Remove unused devclass argument to DRIVER_MODULE.
|
| #
f955fec7
|
| 09-Dec-2021 |
Mateusz Guzik <mjg@FreeBSD.org> |
ioat: plug set-but-not-unused vars
Sponsored by: Rubicon Communications, LLC ("Netgate")
|
| #
71bf3900
|
| 04-Sep-2021 |
Alexander Motin <mav@FreeBSD.org> |
ioat(4): Remove Giant from ioat_test enable/disable.
MFC after: 1 month
|
| #
b776de67
|
| 11-Aug-2021 |
Alexander Motin <mav@FreeBSD.org> |
Mark some sysctls as CTLFLAG_MPSAFE.
MFC after: 2 weeks
|
| #
440cec3f
|
| 12-Aug-2020 |
Glen Barber <gjb@FreeBSD.org> |
MFH
Sponsored by: Rubicon Communications, LLC (netgate.com)
|
| #
e383ec74
|
| 06-Aug-2020 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r363739 through r363986.
|
| #
96ad26ee
|
| 04-Aug-2020 |
Mark Johnston <markj@FreeBSD.org> |
Remove free_domain() and uma_zfree_domain().
These functions were introduced before UMA started ensuring that freed memory gets placed in domain-local caches. They no longer serve any purpose since
Remove free_domain() and uma_zfree_domain().
These functions were introduced before UMA started ensuring that freed memory gets placed in domain-local caches. They no longer serve any purpose since UMA now provides their functionality by default. Remove them to simplyify the kernel memory allocator interfaces a bit.
Reviewed by: cem, kib Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D25937
show more ...
|
| #
75dfc66c
|
| 27-Feb-2020 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r358269 through r358399.
|
| #
7029da5c
|
| 26-Feb-2020 |
Pawel Biernacki <kaktus@FreeBSD.org> |
Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many)
r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that are still not MPSAFE (or already are but aren’t properly mark
Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many)
r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that are still not MPSAFE (or already are but aren’t properly marked). Use it in preparation for a general review of all nodes.
This is non-functional change that adds annotations to SYSCTL_NODE and SYSCTL_PROC nodes using one of the soon-to-be-required flags.
Mark all obvious cases as MPSAFE. All entries that haven't been marked as MPSAFE before are by default marked as NEEDGIANT
Approved by: kib (mentor, blanket) Commented by: kib, gallatin, melifaro Differential Revision: https://reviews.freebsd.org/D23718
show more ...
|
| #
8acd3f12
|
| 31-Dec-2019 |
Alexander Motin <mav@FreeBSD.org> |
Don't spin on cleanup_lock if we are not interrupt.
If somebody else holds that lock, it will likely do the work for us. If it won't, then we return here later and retry.
Under heavy load it allows
Don't spin on cleanup_lock if we are not interrupt.
If somebody else holds that lock, it will likely do the work for us. If it won't, then we return here later and retry.
Under heavy load it allows to avoid lock congestion between interrupt and polling threads.
MFC after: 1 week Sponsored by: iXsystems, Inc.
show more ...
|
| #
7280125e
|
| 19-Nov-2019 |
Alexander Motin <mav@FreeBSD.org> |
Add ioat_get_domain() to ioat(4) KPI.
This allows NUMA-aware consumers to reduce inter-domain traffic.
MFC after: 1 week Sponsored by: iXsystems, Inc.
|
| #
348efb14
|
| 15-Nov-2019 |
Alexander Motin <mav@FreeBSD.org> |
Initialize *comp_update with valid value.
I've noticed that sometimes with enabled DMAR initial write from device to this address is somehow getting delayed, triggering assertion due to zero default
Initialize *comp_update with valid value.
I've noticed that sometimes with enabled DMAR initial write from device to this address is somehow getting delayed, triggering assertion due to zero default being invalid.
MFC after: 2 weeks Sponsored by: iXsystems, Inc.
show more ...
|
| #
1f4a469d
|
| 15-Nov-2019 |
Alexander Motin <mav@FreeBSD.org> |
Cleanup address range checks in ioat(4).
- Deduce allowed address range for bus_dma(9) from the hardware version. Different versions (CPU generations) have different documented limits. - Remove di
Cleanup address range checks in ioat(4).
- Deduce allowed address range for bus_dma(9) from the hardware version. Different versions (CPU generations) have different documented limits. - Remove difference between address ranges for src/dst and crc. At least docs for few recent generations of CPUs do not mention anything like that, while older are already limited with above limits. - Remove address assertions from arguments. While I do not think the addresses out of allowed ranges should realistically happen there due to the platforms physical address limitations, there is now bus_dma(9) to make sure of that, preferably via IOMMU. - Since crc now has the same address range as src/dst, remove crc_dmamap, reusing dst2_dmamap instead.
Discussed with: cem MFC after: 2 weeks Sponsored by: iXsystems, Inc.
show more ...
|
| #
3eb70a09
|
| 14-Nov-2019 |
Alexander Motin <mav@FreeBSD.org> |
Pass more reasonable WAIT flags to bus_dma(9) calls.
MFC after: 2 weeks
|
| #
9122aeea
|
| 09-Oct-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r353316 through r353350.
|
| #
83b82cd4
|
| 09-Oct-2019 |
Eric van Gyzen <vangyzen@FreeBSD.org> |
Add CTLFLAG_STATS to the dev.ioat.N.stats sysctl OIDs
Refer to r353111.
MFC after: 2 weeks Sponsored by: Dell EMC Isilon
|
| #
8b3bc70a
|
| 08-Oct-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r352764 through r353315.
|
| #
630d9800
|
| 27-Sep-2019 |
Alexander Motin <mav@FreeBSD.org> |
Replace argument checks with assertions.
Those functions are used by kernel, and we can't check all possible argument errors in production kernel. Plus according to docs many of those errors are ch
Replace argument checks with assertions.
Those functions are used by kernel, and we can't check all possible argument errors in production kernel. Plus according to docs many of those errors are checked by hardware. Assertions should just help with code debugging.
MFC after: 2 weeks
show more ...
|
| #
f05b9584
|
| 21-Sep-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r352537 through r352586.
|
| #
657dc81d
|
| 19-Sep-2019 |
Alexander Motin <mav@FreeBSD.org> |
Improve ioat(4) NUMA-awareness.
Allocate ioat->ring memory from the device domain. Schedule ioat->poll_timer to the first CPU of the device domain.
According to pcm-numa tool from intel-pcm port, t
Improve ioat(4) NUMA-awareness.
Allocate ioat->ring memory from the device domain. Schedule ioat->poll_timer to the first CPU of the device domain.
According to pcm-numa tool from intel-pcm port, this reduces number of remote DRAM accesses while copying data by 75%. And unless it is a noise, I've noticed some speed improvement when copying data to other domain.
MFC after: 1 week Sponsored by: iXsystems, Inc.
show more ...
|
| #
0269ae4c
|
| 06-Jun-2019 |
Alan Somers <asomers@FreeBSD.org> |
MFHead @348740
Sponsored by: The FreeBSD Foundation
|
| #
e2e050c8
|
| 20-May-2019 |
Conrad Meyer <cem@FreeBSD.org> |
Extract eventfilter declarations to sys/_eventfilter.h
This allows replacing "sys/eventfilter.h" includes with "sys/_eventfilter.h" in other header files (e.g., sys/{bus,conf,cpu}.h) and reduces hea
Extract eventfilter declarations to sys/_eventfilter.h
This allows replacing "sys/eventfilter.h" includes with "sys/_eventfilter.h" in other header files (e.g., sys/{bus,conf,cpu}.h) and reduces header pollution substantially.
EVENTHANDLER_DECLARE and EVENTHANDLER_LIST_DECLAREs were moved out of .c files into appropriate headers (e.g., sys/proc.h, powernv/opal.h).
As a side effect of reduced header pollution, many .c files and headers no longer contain needed definitions. The remainder of the patch addresses adding appropriate includes to fix those files.
LOCK_DEBUG and LOCK_FILE_LINE_ARG are moved to sys/_lock.h, as required by sys/mutex.h since r326106 (but silently protected by header pollution prior to this change).
No functional change (intended). Of course, any out of tree modules that relied on header pollution for sys/eventhandler.h, sys/lock.h, or sys/mutex.h inclusion need to be fixed. __FreeBSD_version has been bumped.
show more ...
|