diff options
author | mjg <mjg@FreeBSD.org> | 2017-01-24 19:39:24 +0000 |
---|---|---|
committer | mjg <mjg@FreeBSD.org> | 2017-01-24 19:39:24 +0000 |
commit | 4fc6ad7e7fce80ff65a66450f1f8e722c8f31070 (patch) | |
tree | 4c3a61cb06466c4082239e2cdf21b457cdc5c16e /sys/vm | |
parent | ddacedb15c9a5535134460863f48986b6d8e82da (diff) | |
download | FreeBSD-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.c | 3 |
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(); } } |