summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/syscall/poll.c
diff options
context:
space:
mode:
authorlucy wang - Sun Microsystems - Beijing China <xiuyan.wang@Sun.COM>2009-03-26 09:54:44 +0800
committerlucy wang - Sun Microsystems - Beijing China <xiuyan.wang@Sun.COM>2009-03-26 09:54:44 +0800
commit94e7edb1e6b194fffd0e7901c0b32e9fc836bc5b (patch)
tree578105e1f80b27ca4200d731633225fbdbe1acf8 /usr/src/uts/common/syscall/poll.c
parent09ce0d4acf1a79c720d7e54b60e87cbfa0f1b2d6 (diff)
downloadillumos-gate-94e7edb1e6b194fffd0e7901c0b32e9fc836bc5b.tar.gz
6812228 No need to do software checksum for multiple-mblk packets in ip_tcp_input()
6694625 Performance falls off the cliff with large IO sizes PSARC/2009/039 prefetch interfaces 6812282 PSARC 2009/039 prefetch interfaces Contributed by Paul Durrant (pdurrant@solarflare.com)
Diffstat (limited to 'usr/src/uts/common/syscall/poll.c')
-rw-r--r--usr/src/uts/common/syscall/poll.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/src/uts/common/syscall/poll.c b/usr/src/uts/common/syscall/poll.c
index 26dff3c39b..262830dd1f 100644
--- a/usr/src/uts/common/syscall/poll.c
+++ b/usr/src/uts/common/syscall/poll.c
@@ -20,7 +20,7 @@
*/
/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -997,8 +997,8 @@ pcacheset_cmp(pollfd_t *current, pollfd_t *cached, pollfd_t *newlist, int n)
for (ix = 0; ix < n; ix++) {
/* Prefetch 64 bytes worth of 8-byte elements */
if ((ix & 0x7) == 0) {
- prefetch64((caddr_t)&current[ix + 8]);
- prefetch64((caddr_t)&cached[ix + 8]);
+ prefetch_write_many((caddr_t)&current[ix + 8]);
+ prefetch_write_many((caddr_t)&cached[ix + 8]);
}
if (current[ix].fd == cached[ix].fd) {
/*