diff options
author | jhb <jhb@FreeBSD.org> | 2001-05-21 18:30:50 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2001-05-21 18:30:50 +0000 |
commit | 50d57b68fb2b13077d66ee41159a56a11536e776 (patch) | |
tree | 736abbc57aa69a2df4568043dceced5e9d6e335e /sys/amd64 | |
parent | 76d662958aa4460c71ae7dc6596ed71f18029a16 (diff) | |
download | FreeBSD-src-50d57b68fb2b13077d66ee41159a56a11536e776.zip FreeBSD-src-50d57b68fb2b13077d66ee41159a56a11536e776.tar.gz |
Axe unneeded spl()'s.
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/amd64/vm_machdep.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/amd64/amd64/vm_machdep.c b/sys/amd64/amd64/vm_machdep.c index eda2386..8a00264 100644 --- a/sys/amd64/amd64/vm_machdep.c +++ b/sys/amd64/amd64/vm_machdep.c @@ -570,7 +570,6 @@ vm_page_zero_idle() static int free_rover; static int zero_state; vm_page_t m; - int s; /* * Attempt to maintain approximately 1/2 of our free pages in a @@ -592,7 +591,6 @@ vm_page_zero_idle() return(0); } - s = splvm(); zero_state = 0; m = vm_page_list_find(PQ_FREE, free_rover, FALSE); if (m != NULL && (m->flags & PG_ZERO) == 0) { @@ -613,7 +611,6 @@ vm_page_zero_idle() zero_state = 1; } free_rover = (free_rover + PQ_PRIME2) & PQ_L2_MASK; - splx(s); mtx_unlock(&vm_mtx); return (1); } |