summaryrefslogtreecommitdiffstats
path: root/sys/vm
diff options
context:
space:
mode:
authormjg <mjg@FreeBSD.org>2017-01-24 19:39:24 +0000
committermjg <mjg@FreeBSD.org>2017-01-24 19:39:24 +0000
commit4fc6ad7e7fce80ff65a66450f1f8e722c8f31070 (patch)
tree4c3a61cb06466c4082239e2cdf21b457cdc5c16e /sys/vm
parentddacedb15c9a5535134460863f48986b6d8e82da (diff)
downloadFreeBSD-src-4fc6ad7e7fce80ff65a66450f1f8e722c8f31070.zip
FreeBSD-src-4fc6ad7e7fce80ff65a66450f1f8e722c8f31070.tar.gz
MFC r310805:
Remove cpu_spinwait after seq_consistent. It does not add any benefit as the read routine will do it as necessary.
Diffstat (limited to 'sys/vm')
-rw-r--r--sys/vm/vm_domain.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/vm/vm_domain.c b/sys/vm/vm_domain.c
index 4bf5cfd..4945496 100644
--- a/sys/vm/vm_domain.c
+++ b/sys/vm/vm_domain.c
@@ -140,7 +140,6 @@ vm_domain_policy_localcopy(struct vm_domain_policy *dst,
*dst = *src;
if (seq_consistent(&src->seq, seq))
return;
- cpu_spinwait();
}
}
@@ -168,7 +167,6 @@ vm_domain_policy_copy(struct vm_domain_policy *dst,
seq_write_end(&dst->seq);
return;
}
- cpu_spinwait();
}
}
@@ -330,7 +328,6 @@ vm_domain_iterator_set_policy(struct vm_domain_iterator *vi,
_vm_domain_iterator_set_policy(vi, &vt_lcl);
return;
}
- cpu_spinwait();
}
}
OpenPOWER on IntegriCloud