1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-02 12:20:51 +00:00
freebsd/sys
Hans Petter Selasky 1cdefd084d Optimise unmapped LinuxKPI page allocations.
When allocating unmapped pages, take advantage of the direct map on
AMD64 to get the virtual address corresponding to a page. Else all
pages allocated must be mapped because sometimes the virtual address
of a page is requested.

Move all page allocation and deallocation code into an own C-file.

Add support for GFP_DMA32, GFP_KERNEL, GFP_ATOMIC and __GFP_ZERO
allocation flags.

Make a clear separation between mapped and unmapped allocations.

Obtained from:		kmacy @
MFC after:		1 week
Sponsored by:		Mellanox Technologies
2017-02-22 19:39:54 +00:00
..
amd64 sys: Replace zero with NULL for pointers. 2017-02-22 02:35:59 +00:00
arm Revert to this driver's historic behavior: assume an sd card is writable 2017-02-22 03:49:46 +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 sys: Replace zero with NULL for pointers. 2017-02-22 02:35:59 +00:00
bsm
cam Do not blindly free completed ATIOs/INOTs on invalidation. 2017-02-21 06:10:11 +00:00
cddl zfs: move zio_taskq_basedc under SYSDC 2017-02-21 21:11:58 +00:00
compat Optimise unmapped LinuxKPI page allocations. 2017-02-22 19:39:54 +00:00
conf Optimise unmapped LinuxKPI page allocations. 2017-02-22 19:39:54 +00:00
contrib Add 7265D firmware. 2017-02-22 04:42:02 +00:00
crypto
ddb
dev - Allow different slicers for different flash types to be registered 2017-02-22 10:21:39 +00:00
fs Simplify devfs_fsync() by removing it. This might also be a minor 2017-02-20 16:18:33 +00:00
gdb
geom - Allow different slicers for different flash types to be registered 2017-02-22 10:21:39 +00:00
gnu
i386 Implement rt_tgsigqueueinfo system call used by glibc for pthread_sigqueue(3). 2017-02-19 07:38:11 +00:00
isa
kern Make the code match the comments: If we have ANY buf's that failed 2017-02-21 18:56:06 +00:00
kgssapi
libkern sys: Replace zero with NULL for pointers. 2017-02-22 02:35:59 +00:00
mips sys: Replace zero with NULL for pointers. 2017-02-22 02:35:59 +00:00
modules Optimise unmapped LinuxKPI page allocations. 2017-02-22 19:39:54 +00:00
net sys: Replace zero with NULL for pointers. 2017-02-22 02:35:59 +00:00
net80211 [net80211] validate VHT IEs. 2017-02-20 04:04:59 +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 For translated packets do not adjust UDP checksum if it is zero. 2017-02-18 19:53:37 +00:00
netnatm
netpfil sys: Replace zero with NULL for pointers. 2017-02-22 02:35:59 +00:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed
opencrypto
powerpc - Allow different slicers for different flash types to be registered 2017-02-22 10:21:39 +00:00
riscv
rpc add svcpool_close to handle killed nfsd threads 2017-02-14 17:49:08 +00:00
security
sparc64 Bring back r313037, with fixes for mips: 2017-02-19 02:03:09 +00:00
sys don't use C99 static array indices with older GCC versions 2017-02-22 17:20:18 +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 More fixes for regression in r313898 on i386. 2017-02-22 07:07:05 +00:00
xdr
xen
Makefile