summaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2015-07-29 10:34:40 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2015-07-29 10:34:40 +0200
commit7b18db1e83ea84fc34f4b4ffdf6bbbe684df1d2a (patch)
tree73bdd6710ac452a5f65c0888de12f980bd38e133 /sysdeps
parentcba79024b72d3cbe953891b341040fbe13d29425 (diff)
parent69f807d6a4afa43e7a596e04f22923567b235ce9 (diff)
Merge branch 't/vm_copy' into refs/top-bases/tschwinge/Roger_Whittaker
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/mach/pagecopy.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/mach/pagecopy.h b/sysdeps/mach/pagecopy.h
index 29b73ce762..9d1f4de8bb 100644
--- a/sysdeps/mach/pagecopy.h
+++ b/sysdeps/mach/pagecopy.h
@@ -20,7 +20,10 @@
/* Threshold at which vm_copy is more efficient than well-optimized copying
by words. This parameter should be tuned as necessary. */
+#define PAGE_THRESHOLD (16384) /* XXX Tune this. */
+#if 0
#define PAGE_COPY_THRESHOLD (16384) /* XXX Tune this. */
+#endif
#define PAGE_SIZE __vm_page_size
#define PAGE_COPY_FWD(dstp, srcp, nbytes_left, nbytes) \