freebsd-dev/sys/compat
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
..
cloudabi Rework r313352. 2017-02-13 09:04:38 +00:00
cloudabi32 Regenerate all the system call tables to drop "created from" lines. 2017-02-10 19:45:02 +00:00
cloudabi64 Regenerate all the system call tables to drop "created from" lines. 2017-02-10 19:45:02 +00:00
freebsd32 Rework r313352. 2017-02-13 09:04:38 +00:00
ia32 Tidy up ia32_sysvec sv_flags setting 2016-10-20 20:29:54 +00:00
linprocfs Add /proc/self/mounts to linprocfs; some linux binaries need it. 2017-02-20 17:33:25 +00:00
linsysfs Add support to the jail framework to be able to mount linsysfs(5) and 2015-07-19 08:52:35 +00:00
linux Get rid of foo_sys() in linuxulator code. It was commented out, and it 2017-02-21 15:57:01 +00:00
linuxkpi/common Optimise unmapped LinuxKPI page allocations. 2017-02-22 19:39:54 +00:00
ndis ndis(4): Undo unneeded workarounds in ndis' rand(). 2016-05-22 14:13:20 +00:00
netbsd Remove some more NetBSD compat shims and other unused bits from these 2012-09-10 18:49:49 +00:00
svr4 Regenerate all the system call tables to drop "created from" lines. 2017-02-10 19:45:02 +00:00
x86bios x86bios: spelling fix in a comment. 2016-04-30 00:34:04 +00:00