- 21 Jun, 2021 6 commits
-
-
Colin Percival authored
This allows the EFI loader to start recording timestamps.
-
Colin Percival authored
This allows the i386 loader to start recording timestamps. Reviewed by: kevans
-
Colin Percival authored
This adds tslog_init, which allocates a 2MB buffer for recording timestamped events; and tslog_publish, which takes the buffer and passes it to the kernel as a "preloaded module". These functions will be used in a later commit. Reviewed by: kevans
-
Colin Percival authored
At present this only supports x86, due to the use of the rdtsc instruction; and is inert unless a buffer is allocated and passed to the tslog code (which will be done by a future commit). Reviewed by: kevans
-
Colin Percival authored
This provides an interface for a memory buffer to be passed from the loader to the kernel as a "preloaded module". Reviewed by: kevans
-
Warner Losh authored
When the elapsed time of the operation is complete and stored in the QOS field, set the CAM_QOS_VALID bit. In iosched, test to make sure it's set before using it. Sponsored by: Netflix
-
- 20 Jun, 2021 3 commits
-
-
Mike Karels authored
As pointed out in the bug, the genet driver (RPi4 Ethernet) was attaching the interrupts before the data structures were fully initialized, causing a crash if an interrupt came in during the attach. Fix by reordering code blocks. PR: 256334 Reported by: < ghuckriede at blackberry.com > Reviewed by: < ghuckriede at blackberry.com > (informally) MFC after: 3 days
-
Martin Matuska authored
-
Martin Matuska authored
Notable upstream pull request merges: #12054 Avoid deadlock when removing L2ARC devices under I/O #12172 Use wmsum for arc, abd, dbuf and zfetch statistics #12221 vdev_draid_min_asize() ignores reserved space Obtained from: OpenZFS OpenZFS commit: c4c162c1
-
- 19 Jun, 2021 31 commits
-
-
Alan Somers authored
Every FUSE operation has a unique value in its header. As the name implies, these values are supposed to be unique among all outstanding operations. And since FUSE_INTERRUPT is asynchronous and racy, it is desirable that the unique values be unique among all operations that are "close in time". Ensure that they are actually unique by incrementing them whenever we reuse a fuse_dispatcher object, for example during fsync, write, and listextattr. PR: 244686 MFC after: 2 weeks Reviewed by: pfg Differential Revision: https://reviews.freebsd.org/D30810
-
Alan Somers authored
MFC after: 2 weeks Reviewed by: pfg
-
Alan Somers authored
It was always dead, accidentally included in SVN r345876. MFC after: 2 weeks Reviewed by: pfg
-
Lutz Donnerhacke authored
Current data structure is using a hash of unordered lists. Those unordered lists are quite efficient, because the least recently inserted entries are most likely to be used again. In order to avoid long search times in other cases, the lists are hashed into many buckets. Unfortunatly a search for a miss needs an exhaustive inspection and a careful definition of the hash. Splay trees offer a similar feature: Almost O(1) for access of the least recently used entries, and amortized O(ln(n)) for almost all other cases. Get rid of the hash. Now the data structure should able to quickly react to external packets without eating CPU cycles for breakfast, preventing a DoS. PR: 192888 Discussed with: Dimitry Luhtionov MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D30536
-
Lutz Donnerhacke authored
Current data structure is using a hash of unordered lists. Those unordered lists are quite efficient, because the least recently inserted entries are most likely to be used again. In order to avoid long search times in other cases, the lists are hashed into many buckets. Unfortunatly a search for a miss needs an exhaustive inspection and a careful definition of the hash. Splay trees offer a similar feature - almost O(1) for access of the least recently used entries), and amortized O(ln(n) - for almost all other cases. Get rid of the hash. Discussed with: Dimitry Luhtionov MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D30516
-
Lutz Donnerhacke authored
Note, that the restructuring is done. MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D30582
-
Lutz Donnerhacke authored
The entry deleteAllLinks in the struct libalias is only used to signal a state between internal calls. It's not used between API calls. MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D30604
-
Lutz Donnerhacke authored
Get rid of PORT_BASE, replace by AliasRange. Simplify code. Factor out the search for a new port. Improves the perfomance a bit. Discussed with: Dimitry Luhtionov MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D30581
-
Lutz Donnerhacke authored
Let PPTP use its own data structure. Regroup and rename other lists, which are not PPTP. MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D30580
-
Lutz Donnerhacke authored
Reorder the internal structure semantically. MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D30575
-
Lutz Donnerhacke authored
Reorder incoming links by grouping of common search terms. Significant performance improvement for incoming (missing) flows. Remove LSNAT from outgoing search. Slight speedup due to less comparsions in the loop. MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D30574
-
Lutz Donnerhacke authored
Factor out a common idiom to return found links. MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D30573
-
Lutz Donnerhacke authored
Factor out the outgoing search function. Preparation for a new data structure. MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D30572
-
Lutz Donnerhacke authored
Simplify program flow in function _FindLinkIn. MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D30571
-
Dimitry Andric authored
This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvmorg-12.0.1-rc2-0-ge7dac564cd0e, a.k.a. 12.0.1 rc2. PR: 255570 MFC after: 6 weeks
-
Lutz Donnerhacke authored
Separate the partially specified links into a separate data structure. This would causes a major parformance impact, if there are many of them. Use a (smaller) hash table to speed up the partially link access. MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D30570
-
Richard Scheffenegger authored
This completes PRR cwnd reduction in all circumstances for the base TCP stack (SACK loss recovery, ECN window reduction, non-SACK loss recovery), preventing the arriving ACKs to clock out new data at the old, too high rate. This reduces the chance to induce additional losses while recovering from loss (during congested network conditions). For non-SACK loss recovery, each ACK is assumed to have one MSS delivered. In order to prevent ACK-split attacks, only one window worth of ACKs is considered to actually have delivered new data. MFC after: 6 weeks Reviewed By: rrs, #transport Sponsored by: NetApp, Inc. Differential Revision: https://reviews.freebsd.org/D29441
-
Lutz Donnerhacke authored
Search fully specified links first. Some performance loss due to need to revisit the db twice, if not found. MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D30569
-
Emmanuel Vadot authored
Sponsored by: Diablotin Systems
-
Emmanuel Vadot authored
And only get the differents ones based on the version. No functional changes intented. Sponsored by: Diablotin Systems
-
Emmanuel Vadot authored
No functional changes. Sponsored by: Diablotin Systems
-
Lutz Donnerhacke authored
Factor out the common Out and In filter Slightly better performance due to eager skip of search loop MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D30568
-
Lutz Donnerhacke authored
Summary: - Use LibAliasTime as a real global variable for central timekeeping. - Reduce number of syscalls in user space considerably. - Dynamically adjust the packet counters to match the second resolution. - Only check the first few packets after a time increase for expiry. Discussed with: hselasky MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D30566
-
Lutz Donnerhacke authored
Stats counters are used as unsigned valued (i.e. printf("%u")) but are defined as signed int. This causes trouble later, so fix it early. MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D30587
-
Emmanuel Vadot authored
Differential Revision: https://reviews.freebsd.org/D30757 Sponsored by: Diablotin Systems
-
Emmanuel Vadot authored
Differential Revision: https://reviews.freebsd.org/D30756 Sponsored by: Diablotin Systems
-
Emmanuel Vadot authored
While here only compile both of them if WITH_ISCSI is set (this is the default). Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D30755 Sponsored by: Diablotin Systems
-
Emmanuel Vadot authored
And move all the nfs related commands there. Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D30754 Sponsored by: Diablotin Systems
-
Emmanuel Vadot authored
No need to bloat runtime with this utility. Differential Revision: https://reviews.freebsd.org/D30753 Sponsored by: Diablotin Systems
-
Emmanuel Vadot authored
While dtrace is usefull some people might not want it. Differential Revision: https://reviews.freebsd.org/D30752 Sponsored by: Diablotin Systems
-
Emmanuel Vadot authored
Reviewed by: imp, mmel Differential Revision: https://reviews.freebsd.org/D30762 Sponsored by: Diablotin Systems
-