freebsd-skq/sys
Konstantin Belousov e8a4a618cf Add pmap function pmap_copy_pages(), which copies the content of the
pages around, taking array of vm_page_t both for source and
destination.  Starting offsets and total transfer size are specified.

The function implements optimal algorithm for copying using the
platform-specific optimizations.  For instance, on the architectures
were the direct map is available, no transient mappings are created,
for i386 the per-cpu ephemeral page frame is used.  The code was
typically borrowed from the pmap_copy_page() for the same
architecture.

Only i386/amd64, powerpc aim and arm/arm-v6 implementations were
tested at the time of commit. High-level code, not committed yet to
the tree, ensures that the use of the function is only allowed after
explicit enablement.

For sparc64, the existing code has known issues and a stab is added
instead, to allow the kernel linking.

Sponsored by:	The FreeBSD Foundation
Tested by:	pho (i386, amd64), scottl (amd64), ian (arm and arm-v6)
MFC after:	2 weeks
2013-03-14 20:18:12 +00:00
..
amd64 Add pmap function pmap_copy_pages(), which copies the content of the 2013-03-14 20:18:12 +00:00
arm Add pmap function pmap_copy_pages(), which copies the content of the 2013-03-14 20:18:12 +00:00
boot Attach the elf section headers to the loaded kernel as metadata, so 2013-03-10 00:43:01 +00:00
bsm - Implement two new system calls: 2013-03-02 21:11:30 +00:00
cam Re-enable CTL in GENERIC on i386 and amd64, but turn on the CTL disable 2013-03-04 21:18:45 +00:00
cddl Switch the vm_object mutex to be a rwlock. This will enable in the 2013-03-09 02:32:23 +00:00
compat Switch the vm_object mutex to be a rwlock. This will enable in the 2013-03-09 02:32:23 +00:00
conf Fix minor spelling error in a comment. 2013-03-14 19:36:20 +00:00
contrib Simplify TAILQ usage and avoid additional memory allocations. 2013-03-05 08:08:16 +00:00
crypto When porting XTS-related code from OpenBSD I forgot to update copyright (only 2013-02-20 22:59:53 +00:00
ddb Small textdump enhancements. 2012-11-01 04:07:08 +00:00
dev Implement "holding buffers" per TX queue rather than globally. 2013-03-14 06:20:02 +00:00
fs Revert 195703 and 195821 as this special stop handling in NFS is now 2013-03-13 21:06:03 +00:00
gdb
geom Add legacy support to geom raid to create a /dev/arX device for support 2013-03-08 20:07:32 +00:00
gnu/fs/reiserfs Garbage collect XFS bits which are now already completely disconnected 2013-03-02 15:33:54 +00:00
i386 Add pmap function pmap_copy_pages(), which copies the content of the 2013-03-14 20:18:12 +00:00
ia64 Add pmap function pmap_copy_pages(), which copies the content of the 2013-03-14 20:18:12 +00:00
isa
kern Rewrite the vfs_bio_clrbuf(9) to not access the b_data for B_VMIO 2013-03-14 19:48:25 +00:00
kgssapi Piete.Brooks at cl.cam.ac.uk reported via email a crash which was 2012-12-18 00:25:48 +00:00
libkern Add __aeabi_memcpy to libkern as clang may generate calls to it. 2013-03-10 07:55:40 +00:00
mips Add pmap function pmap_copy_pages(), which copies the content of the 2013-03-14 20:18:12 +00:00
modules Disable warning/errors for two files for now - they don't compile clean 2013-03-14 00:27:53 +00:00
net Functions m_getm2() and m_get2() have different order of arguments, 2013-03-12 13:42:47 +00:00
net80211 Kill this, it's not needed at this point and (hopefully) the parent 2013-03-10 04:38:06 +00:00
netatalk Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
netgraph Fix compilation warning. 2013-02-15 07:58:51 +00:00
netinet Functions m_getm2() and m_get2() have different order of arguments, 2013-03-12 13:42:47 +00:00
netinet6 Take the inpcb rlock before calculating checksum, it was accidentally 2013-03-12 02:20:20 +00:00
netipsec Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
netipx Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
netnatm Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
netpfil Functions m_getm2() and m_get2() have different order of arguments, 2013-03-12 13:42:47 +00:00
netsmb Call make_dev_credf() rather than using the couple make_dev()/dev_ref(). 2013-03-09 16:58:19 +00:00
nfs Functions m_getm2() and m_get2() have different order of arguments, 2013-03-12 13:42:47 +00:00
nfsclient Revert 195703 and 195821 as this special stop handling in NFS is now 2013-03-13 21:06:03 +00:00
nfsserver Switch the vm_object mutex to be a rwlock. This will enable in the 2013-03-09 02:32:23 +00:00
nlm Remove the support for using non-mpsafe filesystem modules. 2012-10-22 17:50:54 +00:00
ofed Switch the vm_object mutex to be a rwlock. This will enable in the 2013-03-09 02:32:23 +00:00
opencrypto When porting XTS-related code from OpenBSD I forgot to update copyright (only 2013-02-20 22:59:53 +00:00
pc98 Switch the vm_object mutex to be a rwlock. This will enable in the 2013-03-09 02:32:23 +00:00
pci Fix build. 2013-02-21 12:52:18 +00:00
powerpc Add pmap function pmap_copy_pages(), which copies the content of the 2013-03-14 20:18:12 +00:00
rpc Revert 195703 and 195821 as this special stop handling in NFS is now 2013-03-13 21:06:03 +00:00
security Switch the vm_object mutex to be a rwlock. This will enable in the 2013-03-09 02:32:23 +00:00
sparc64 Add pmap function pmap_copy_pages(), which copies the content of the 2013-03-14 20:18:12 +00:00
sys Bump __FreeBSD_version after r248084, breaking VM KPI to introduce 2013-03-12 14:30:36 +00:00
teken
tools Further refine the handling of stop signals in the NFS client. The 2013-02-21 19:02:50 +00:00
ufs Switch the vm_object mutex to be a rwlock. This will enable in the 2013-03-09 02:32:23 +00:00
vm Add pmap function pmap_copy_pages(), which copies the content of the 2013-03-14 20:18:12 +00:00
x86 MFcalloutng: 2013-02-28 13:46:03 +00:00
xdr Finish r243882: mechanically substitute flags from historic mbuf 2013-03-12 08:59:51 +00:00
xen Move the corresponding MTX_SYSINIT() next to their struct mtx declaration 2012-10-26 17:31:35 +00:00
Makefile Remove netncp cscope entry missed in r248097 2013-03-12 14:21:52 +00:00