| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Notes:
svn path=/head/; revision=367568
|
|
|
|
|
|
|
| |
MFC after: 3 days
Notes:
svn path=/head/; revision=367567
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Refer to the Linux commit mentioned below for a more detailed description.
Linux commit:
a18177925c252da7801149abe217c05b80884798
Requested by: Isilon
MFC after: 1 week
Sponsored by: Mellanox Technologies // NVIDIA Networking
Notes:
svn path=/head/; revision=367555
|
|
|
|
|
|
|
|
|
|
|
| |
Perhaps it made sense in 1998 (r32836), but now it feels a bit out of
place. We tend to avoid documenting non-essential ports variables in
the manual page (we try to document them in the Porter's Handbook instead).
MFC after: 1 week
Notes:
svn path=/head/; revision=367552
|
|
|
|
|
|
|
|
| |
PR: 239692
Requested by: koobs
Notes:
svn path=/head/; revision=367551
|
|
|
|
|
|
|
|
| |
Reviewed by: br (earlier version)
Differential Revision: https://reviews.freebsd.org/D26813
Notes:
svn path=/head/; revision=367549
|
|
|
|
|
|
|
|
|
|
|
|
| |
The revision r342168 broke ABI of ng_nat needlessly and
the change was merged to stable branches breaking ABI there, too.
Unbreak it.
PR: 250722
MFC after: 1 week
Notes:
svn path=/head/; revision=367545
|
|
|
|
|
|
|
| |
tdfind should be used instead.
Notes:
svn path=/head/; revision=367544
|
|
|
|
|
|
|
|
| |
This treads linear scans for locked lookup, but more importantly removes
the only consumer of thread_find.
Notes:
svn path=/head/; revision=367543
|
|
|
|
| |
Notes:
svn path=/head/; revision=367542
|
|
|
|
|
|
|
| |
The committed patch was an older version.
Notes:
svn path=/head/; revision=367541
|
|
|
|
|
|
|
|
| |
Fix a whitespace "error" introduced in r367435 noticed when
preparing the MFC. No functional changes.
Notes:
svn path=/head/; revision=367539
|
|
|
|
|
|
|
|
|
|
|
|
| |
In r367327 generic_bs_sr_<n> were derived from mips. Given we are calling
generic_bs_w_<n> and no write directly, we do not have to do the address
calculations ourselves as eneric_bs_w_<n> will do a str val [bsh, offset].
All we actually have to do is increment offset.
MFC after: 3 days
Notes:
svn path=/head/; revision=367538
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There are workloads with very bursty tid allocation and since unr tries very
hard to have small-sized bitmaps it keeps reallocating memory. Just doing
buildkernel gives almost 150k calls to free coming from unr.
This also gets rid of the hack which tried to postpone TID reuse.
Reviewed by: kib, markj
Tested by: pho
Differential Revision: https://reviews.freebsd.org/D27101
Notes:
svn path=/head/; revision=367537
|
|
|
|
|
|
|
|
|
|
|
|
| |
The intent is to replace the current id allocation method and a known upper
bound will be useful.
Reviewed by: kib (previous version), markj (previous version)
Tested by: pho
Differential Revision: https://reviews.freebsd.org/D27100
Notes:
svn path=/head/; revision=367536
|
|
|
|
|
|
|
|
|
|
|
| |
While here move frequently read stuff into the same cacheline.
This shrinks struct mount by 64 bytes.
Tested by: pho
Notes:
svn path=/head/; revision=367535
|
|
|
|
|
|
|
|
|
|
| |
It is hardwired to "-" since its introduction in 2005.
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D27141
Notes:
svn path=/head/; revision=367534
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Total page count after buildworld on ZFS for 384 (if present) and 512 zones:
before: 29713
after: 25946
per-zone page use:
vm.uma.malloc_384.keg.domain.1.pages: 11621
vm.uma.malloc_384.keg.domain.0.pages: 11597
vm.uma.malloc_512.keg.domain.1.pages: 1280
vm.uma.malloc_512.keg.domain.0.pages: 1448
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D27145
Notes:
svn path=/head/; revision=367533
|
|
|
|
|
|
|
|
| |
Reviewed by: markj, imp
Differential Revision: https://reviews.freebsd.org/D27142
Notes:
svn path=/head/; revision=367532
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* TCP segments without timestamps should be dropped when support for
the timestamp option has been negotiated.
* TCP segments with timestamps should be processed normally if support
for the timestamp option has not been negotiated.
This patch enforces the above.
PR: 250499
Reviewed by: gnn, rrs
MFC after: 1 week
Sponsored by: Netflix, Inc
Differential Revision: https://reviews.freebsd.org/D27148
Notes:
svn path=/head/; revision=367530
|
|
|
|
| |
Notes:
svn path=/head/; revision=367522
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It includes:
ACPI_HANDLE() implementation.
AC and VIDEO ACPI events notification support.
Replacement of hand-rolled GPLed _DSM method evaluation helpers
with in-base ones.
Submitted by: wulf
Differential Revision: https://reviews.freebsd.org/D26603
Notes:
svn path=/head/; revision=367521
|
|
|
|
|
|
|
|
|
|
| |
https://svnweb.freebsd.org/changeset/base/363046
Thanks to Taylor Brandstetter for finding this issue using fuzz testing
and reporting it in https://github.com/sctplab/usrsctp/issues/547
Notes:
svn path=/head/; revision=367520
|
|
|
|
|
|
|
|
|
|
|
|
| |
from a Linux binary. Should come handy for AppImages.
Reviewed by: asomers
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D26959
Notes:
svn path=/head/; revision=367517
|
|
|
|
| |
Notes:
svn path=/head/; revision=367514
|
|
|
|
|
|
|
|
|
| |
This covers powers of 2 up to 64.
Example pending user is ZFS.
Notes:
svn path=/head/; revision=367503
|
|
|
|
|
|
|
|
|
|
|
| |
The MAC address can be set with the optional mac-addr property in the VF
section of the iovctl.conf(5) used to instantiate the VFs.
MFC after: 2 weeks
Sponsored by: Chelsio Communications
Notes:
svn path=/head/; revision=367502
|
|
|
|
| |
Notes:
svn path=/head/; revision=367501
|
|
|
|
|
|
|
| |
The object is 128 bytes in size.
Notes:
svn path=/head/; revision=367500
|
|
|
|
|
|
|
|
| |
int is wide enough and it plugs a hole in struct vnode, taking it down
from 496 to 488 bytes.
Notes:
svn path=/head/; revision=367499
|
|
|
|
| |
Notes:
svn path=/head/; revision=367498
|
|
|
|
|
|
|
|
|
|
|
| |
Query the firmware for the MAC address set by the PF for the VF and use
it instead of the firmware generated MAC if it's available.
MFC after: 2 weeks
Sponsored by: Chelsio Communications
Notes:
svn path=/head/; revision=367497
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The HPT is always stored in big-endian, as it is accessed directly by the
hardware as well as the kernel. As such, it is necessary to convert values
to and from native endian when running on LE.
Some unconverted accesses snuck in accidentally with r367417.
Apply the appropriate conversions to fix boot hanging on powerpc64le.
Sponsored by: Tag1 Consulting, Inc.
Notes:
svn path=/head/; revision=367496
|
|
|
|
|
|
|
|
|
| |
Obtained from: Chelsio Communications
MFC after: 5 days
Sponsored by: Chelsio Communications
Notes:
svn path=/head/; revision=367495
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add the missing static keyword present in the declaration.
Reviewed by: melifaro
Sponsored by: NetApp, Inc.
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D27024
Notes:
svn path=/head/; revision=367494
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently there is no locking done to protect this structure. It is
likely okay due to the low-volume nature of IGMP, but allows for
the possibility of underflow. This appears to be one of the only
holdouts of the conversion to counter(9) which was done for most
protocol stat structures around 2013.
This also updates the visibility of this stats structure so that it can
be consumed from elsewhere in the kernel, consistent with the vast
majority of VNET_PCPUSTAT structures.
Reviewed by: kp
Sponsored by: NetApp, Inc.
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D27023
Notes:
svn path=/head/; revision=367493
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Under specific conditions, a window update can be sent with
outdated SACK information. Some clients react to this by
subsequently delaying loss recovery, making TCP perform very
poorly.
Reported by: chengc_netapp.com
Reviewed by: rrs, jtl
MFC after: 2 weeks
Sponsored by: NetApp, Inc.
Differential Revision: https://reviews.freebsd.org/D24237
Notes:
svn path=/head/; revision=367492
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The goal of the fib support is to provide multiple independent
routing tables, isolated from each other.
net.add_addr_allfibs default tries to shift gears in the opposite
direction, unconditionally inserting all addresses to all of the fibs.
There are use cases when this is necessary, however this is not a
default expected behaviour, especially compared to other implementations.
Provide WARNING message for the setups with multiple fibs to notify
potential users of the feature.
Differential Revision: https://reviews.freebsd.org/D26076
Notes:
svn path=/head/; revision=367491
|
|
|
|
|
|
|
|
| |
It accidentally sweeped in r367486.
Revert to allow for proper commit message & warning.
Notes:
svn path=/head/; revision=367490
|
|
|
|
|
|
|
|
|
|
|
|
| |
needed for syscalls from unloadable modules.
Reviewed by: kib
MFC after: 2 weeks
Sponsored by: EPSRC
Differential Revision: https://reviews.freebsd.org/D26988
Notes:
svn path=/head/; revision=367488
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The ZIL will be opened on the first write, not earlier.
Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Mariusz Zaborski <oshogbo@vexillium.org>
OpenZFS Pull Request: https://github.com/openzfs/zfs/pull/11152
PR: 250934
Notes:
svn path=/head/; revision=367487
|
|
|
|
|
|
|
|
| |
Pointy hat to: melifaro
Reported by: jenkins
Notes:
svn path=/head/; revision=367486
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[PowerPC] Skip combining (uint_to_fp x) if x is not simple type
Current powerpc64le backend hits
```
Combining: t7: f64 = uint_to_fp t6
llc: llvm-project/llvm/include/llvm/CodeGen/ValueTypes.h:291:
llvm::MVT llvm::EVT::getSimpleVT() const: Assertion `isSimple() &&
"Expected a SimpleValueType!"' failed.
```
This patch fixes it by skipping combination if `t6` is not simple
type.
Fixed https://bugs.llvm.org/show_bug.cgi?id=47660.
Reviewed By: #powerpc, steven.zhang
Differential Revision: https://reviews.llvm.org/D88388
This should fix the llvm assertion mentioned above when building the
following ports for powerpc64le:
* audio/traverso
* databases/percona57-pam-for-mysql
* databases/percona57-server
* emulators/citra
* emulators/citra-qt5
* games/7kaa
* graphics/dia
* graphics/mandelbulber
* graphics/pcl-pointclouds
* net-p2p/libtorrent-rasterbar
* textproc/htmldoc
Requested by: pkubaj
MFC after: 3 days
Notes:
svn path=/head/; revision=367485
|
|
|
|
|
|
|
| |
Differential Revision: https://reviews.freebsd.org/D26318
Notes:
svn path=/head/; revision=367484
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- map those IPv4 / IPv6 socket options which exist in FreeBSD
+ most of them visually verified to have the same type/layout of arguments
+ not tested with linux programs to behave as intended
- be more human readable for known options which are not handled
- be more verbose for unhandled socket message flags we know about
- print the jail ID in linux_msg if run in a jail
- add possibility to print debug message about known missing parts only once
- add multiple levels of sysctl linux.debug:
1: print debug messages, tell about unimplemented stuff (only once)
2: like 1, but also print messages about implemented but not tested
stuff (only once)
3+: like 2, but no rate limiting of messages
- increase default linux debug level from 1 to 3
We are a lot more verbose in as we need to be (e.g. some of the IP socket
options which are the same, and share the same memory layout, and are
believed to work). The reason is that we have no good testsuite to test those
linux-bits. The LTP or other test suites like the python one, are not fully
up to the task we need. As such the excessive messages about emulated but not
tested socket options.
IMO any MFC (possible, but most probably not by me) should set the default
debug level to 1.
Discussed with: trasz
Notes:
svn path=/head/; revision=367481
|
|
|
|
|
|
|
| |
correct small issues - misplaced comment and typos.
Notes:
svn path=/head/; revision=367480
|
|
|
|
|
|
|
| |
No functional changes intended.
Notes:
svn path=/head/; revision=367479
|
|
|
|
|
|
|
|
|
|
|
|
| |
prevents returning a space character).
Reviewed by: grehan
Approved by: grehan
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D27123
Notes:
svn path=/head/; revision=367478
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
imgact_binmisc matches magic/mask from imgp->image_header, which is only a
single page in size mapped from the first page of an image. One can specify
an interpreter that matches on, e.g., --offset 4096 --size 256 to read up to
256 bytes past the mapped first page.
The limitation is that we cannot specify a magic string that exceeds a
single page, and we can't allow offset + size to exceed a single page
either. A static assert has been added in case someone finds it useful to
try and expand the size, but it does seem a little unlikely.
While this looks kind of exploitable at a sideways squinty-glance, there are
a couple of mitigating factors:
1.) imgact_binmisc is not enabled by default,
2.) entries may only be added by the superuser,
3.) trying to exploit this information to read what's mapped past the end
would be worse than a root canal or some other relatably painful
experience, and
4.) there's no way one could pull this off without it being completely
obvious.
The first page is mapped out of an sf_buf, the implementation of which (or
lack thereof) depends on your platform.
MFC after: 1 week
Notes:
svn path=/head/; revision=367477
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Provide a way to ask for an opaque version string for a locale_t, so
that potential changes in sort order can be detected. Similar to
ICU's ucol_getVersion() and Windows' GetNLSVersionEx(), this API is
intended to allow databases to detect when text order-based indexes
might need to be rebuilt.
The CLDR version is extracted from CLDR source data by the Makefile
under tools/tools/locale, written into the machine-generated Makefile
under shared/colldef, passed to localedef -V, and then written into
LC_COLLATE file headers. The initial version is 34.0.
tools/tools/locale was recently updated to pull down 35.0, but the
output hasn't been committed under share/colldef yet, so that will
provide the first observable change when it happens. Other versioning
schemes are possible in future, because the format is unspecified.
Reviewed by: bapt, 0mp, kib, yuripv (albeit a long time ago)
Differential Revision: https://reviews.freebsd.org/D17166
Notes:
svn path=/head/; revision=367476
|