summaryrefslogtreecommitdiff
path: root/sysdeps/mach/pagecopy.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/pagecopy.h')
-rw-r--r--sysdeps/mach/pagecopy.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/sysdeps/mach/pagecopy.h b/sysdeps/mach/pagecopy.h
index 0a9f39d1bb..9d1f4de8bb 100644
--- a/sysdeps/mach/pagecopy.h
+++ b/sysdeps/mach/pagecopy.h
@@ -1,5 +1,5 @@
/* Macros for copying by pages; used in memcpy, memmove. Mach version.
- Copyright (C) 1995-2013 Free Software Foundation, Inc.
+ Copyright (C) 1995-2014 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -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 (2 * PAGE_SIZE) /* XXX ? */
+#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) \