1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-06 13:09:50 +00:00
freebsd/sys
Alexander Motin 46511441fb Change XCOPY memory allocations.
Before this change XCOPY code could allocate memory in chunks up to 16-32MB
(VMware does XCOPY in 4MB chunks by default), that could be difficult for
VM subsystem to do due to KVA fragmentation, that sometimes created huge
allocation delays, blocking any I/O for respective LU for that time.

This change limits allocations down to TPC_MAX_IO_SIZE, which is 1MB now.
1MB is also not a cookie, but ZFS also can do that for large blocks, so
it should be less dramatic.  As drawback this increases CPU overhead, but
it still look acceptable comparing to time consumed by ZFS read/write.

MFC after:	1 week
2017-02-18 06:03:16 +00:00
..
amd64 Merge i386 and amd64 mtrr drivers. 2017-02-17 21:08:32 +00:00
arm Remove debugging code that was probably unused since before the arm code 2017-02-13 20:51:08 +00:00
arm64 Load the new sp_el0 with interrupts disabled in fork_trampoline. If an 2017-02-15 14:56:47 +00:00
boot prefix UFS symbols with UFS_ to reduce namespace pollution 2017-02-15 19:50:26 +00:00
bsm
cam Change XCOPY memory allocations. 2017-02-18 06:03:16 +00:00
cddl MVF: 313876 2017-02-17 17:52:12 +00:00
compat Implement GFP_DMA32 flag in the LinuxKPI. 2017-02-17 13:31:11 +00:00
conf Merge i386 and amd64 mtrr drivers. 2017-02-17 21:08:32 +00:00
contrib Stop including sys/types.h from arm's machine/atomic.h, fix the places 2017-02-11 01:07:46 +00:00
crypto Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
ddb Revert crap accidentally committed 2017-01-28 16:31:23 +00:00
dev iwi, ral, zyd: fix possible use-after-free. 2017-02-17 23:20:22 +00:00
fs ext2fs: Remove unused assignment. 2017-02-17 20:56:43 +00:00
gdb
geom Defer startup of gjournal switcher kproc. 2017-02-07 22:45:59 +00:00
gnu
i386 Merge i386 and amd64 mtrr drivers. 2017-02-17 21:08:32 +00:00
isa Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
kern Fix panic with unlocked vnode to vrecycle(). 2017-02-18 05:07:53 +00:00
kgssapi
libkern Remove inet_ntoa() from the kernel 2017-02-16 20:50:01 +00:00
mips Enable capsicum on MALTA kernels. 2017-02-17 21:25:24 +00:00
modules Merge i386 and amd64 mtrr drivers. 2017-02-17 21:08:32 +00:00
net MFV r313759: license change for a few headers (4 clause BSD to 3 clause BSD). 2017-02-15 07:22:47 +00:00
net80211 [net80211] add a sysctl that forces a vap restart. 2017-02-11 05:33:49 +00:00
netgraph
netinet Remove inet_ntoa() from the kernel 2017-02-16 20:50:01 +00:00
netinet6 Remove IPsec related PCB code from SCTP. 2017-02-13 11:37:52 +00:00
netipsec Fix LINT build for powerpc. 2017-02-16 11:38:50 +00:00
netnatm
netpfil Use inet_ntoa_r() instead of inet_ntoa() throughout the kernel 2017-02-16 20:47:41 +00:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed
opencrypto
powerpc Define the vm_ooffset_t and vm_pindex_t types as machine-independend. 2017-02-04 12:26:38 +00:00
riscv Implement atomic_fcmpset_*() for RISC-V. 2017-02-05 00:32:12 +00:00
rpc add svcpool_close to handle killed nfsd threads 2017-02-14 17:49:08 +00:00
security
sparc64 Define the vm_ooffset_t and vm_pindex_t types as machine-independend. 2017-02-04 12:26:38 +00:00
sys mtx: plug the 'opts' argument when not used 2017-02-18 01:52:10 +00:00
teken
tests
tools
ufs prefix UFS symbols with UFS_ to reduce namespace pollution 2017-02-15 19:50:26 +00:00
vm try to fix RACCT_RSS accounting 2017-02-14 13:54:05 +00:00
x86 Rely on CPUID feature only to enable attaching. MTRR are architectural 2017-02-17 22:50:41 +00:00
xdr
xen
Makefile Remove pc98 support completely. 2017-01-28 02:22:15 +00:00