freebsd-nq/sys
Gleb Smirnoff 1ca6ed4589 Handle a special case when a slab can fit only one allocation,
and zone has a large alignment. With alignment taken into
account uk_rsize will be greater than space in a slab. However,
since we have only one item per slab, it is always naturally
aligned.

Code that will panic before this change with 4k page:

	z = uma_zcreate("test", 3984, NULL, NULL, NULL, NULL, 31, 0);
	uma_zalloc(z, M_WAITOK);

A practical scenario to hit the panic is a machine with 56 CPUs
and 2 NUMA domains, which yields in zone size of 3984.

PR:		227116
MFC after:	2 weeks
2018-04-02 05:11:59 +00:00
..
amd64 Bring in the Broadcom/Emulex Fibre Channel driver, ocs_fc(4). 2018-03-30 15:28:25 +00:00
arm aw_sid(4): Release resources and destroy mutex on failure 2018-03-26 14:03:39 +00:00
arm64 Rename assym.s to assym.inc 2018-03-20 17:58:51 +00:00
bsm
cam Flag when we have a pending TUR. Don't schedule another one when we 2018-03-23 16:23:15 +00:00
cddl MFV r331712: 2018-03-28 23:17:29 +00:00
compat Optimise use of Giant in the LinuxKPI. 2018-03-30 20:11:12 +00:00
conf Remove MK_AUTO_OBJ from env passed to PORTS_MODULES 2018-03-31 05:17:12 +00:00
contrib [iwm] Add support for iwm 3168 cards 2018-03-28 07:59:16 +00:00
crypto opencrypto: Integrate Chacha20 algorithm into OCF 2018-03-29 04:02:50 +00:00
ddb db_script_exec: use a saved script name when reporting commands executed 2018-03-04 13:27:21 +00:00
dev Fix the build on arches with default unsigned char. Capture the fubyte() 2018-04-01 18:53:27 +00:00
dts Add dtb overlays support 2018-03-24 21:30:24 +00:00
fs Revert r313780 (UFS_ prefix) 2018-03-17 12:59:55 +00:00
gdb amd64: Protect the kernel text, data, and BSS by setting the RW/NX bits 2018-03-06 14:28:37 +00:00
geom When freeing a superblock returned by ffs_sbget, be sure to also 2018-03-24 15:36:25 +00:00
gnu bwn(4): txpid2g/txpid5g[lh] are not defined after sromrev 7; the default 2018-02-13 17:43:54 +00:00
i386 align i386 cpu_reset() with amd64 version 2018-03-30 11:25:30 +00:00
isa Revert r330780, it was improperly tested and results in taking a spin 2018-03-11 20:13:15 +00:00
kern Implement several enhancements to NUMA policies. 2018-03-29 02:54:50 +00:00
kgssapi kgssapi: Remove trivial deadcode 2018-02-14 00:12:03 +00:00
libkern iconv uses strlen directly on user supplied memory 2018-02-26 18:23:36 +00:00
mips bhnd(4): Use the new BHND_CAP_BP64 capability flag to exclude DMA 2018-03-29 19:48:50 +00:00
modules Add opt_platform.h for several modules that have #ifdef FDT in the source. 2018-04-01 18:22:24 +00:00
net Document and enforce assumptions about struct (in6_)ifreq. 2018-03-30 21:38:53 +00:00
net80211 Use an accessor function to access ifr_data. 2018-03-30 18:50:13 +00:00
netgraph Correct pseudo misspelling in sys/ comments 2018-02-23 18:15:50 +00:00
netinet Use an accessor function to access ifr_data. 2018-03-30 18:50:13 +00:00
netinet6 Document and enforce assumptions about struct (in6_)ifreq. 2018-03-30 21:38:53 +00:00
netipsec Set the proper vnet in IPsec callback functions. 2018-03-20 17:05:23 +00:00
netpfil Use an accessor function to access ifr_data. 2018-03-30 18:50:13 +00:00
netsmb Unsign some values related to allocation. 2018-01-22 02:08:10 +00:00
nfs Remove infrastructure for token-ring networks. 2018-03-28 23:33:26 +00:00
nfsclient style: Remove remaining deprecated MALLOC/FREE macros 2018-01-25 22:25:13 +00:00
nfsserver sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
nlm Use syscall_helper_register() to register syscalls and initialize though 2018-02-10 01:09:22 +00:00
ofed Improve copy-and-pasted versions of SIOCGIFADDR. 2018-03-27 20:51:49 +00:00
opencrypto opencrypto: Integrate Chacha20 algorithm into OCF 2018-03-29 04:02:50 +00:00
powerpc Debug interrupts aren't instruction traps 2018-03-23 00:40:08 +00:00
riscv Rename assym.s to assym.inc 2018-03-20 17:58:51 +00:00
rpc Do pass removing some write-only variables from the kernel. 2017-12-25 04:48:39 +00:00
security Use an accessor function to access ifr_data. 2018-03-30 18:50:13 +00:00
sparc64 Mark psycho interrupts as MPSAFE. It's safe to do so now that we don't 2018-03-21 14:47:17 +00:00
sys Don't verify td_locks accounting after a panic. 2018-03-31 23:24:28 +00:00
teken sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
tests
tools Add dtb overlays support 2018-03-24 21:30:24 +00:00
ufs Revert r313780 (UFS_ prefix) 2018-03-17 12:59:55 +00:00
vm Handle a special case when a slab can fit only one allocation, 2018-04-02 05:11:59 +00:00
x86 Restore r331606 with a bugfix to setup cpuset_domain[] earlier on all 2018-03-28 18:47:35 +00:00
xdr sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
xen sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
Makefile