diff options
author | alc <alc@FreeBSD.org> | 2008-04-05 05:02:53 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2008-04-05 05:02:53 +0000 |
commit | 871b77b7f6c530a18f4e76a2c283b09678c70c9f (patch) | |
tree | 9b2a5da1c481dc2bd78018f643bebcf843ea5394 /sys | |
parent | 47012d17257d878b67346ab10fe52d24ed17e6de (diff) | |
download | FreeBSD-src-871b77b7f6c530a18f4e76a2c283b09678c70c9f.zip FreeBSD-src-871b77b7f6c530a18f4e76a2c283b09678c70c9f.tar.gz |
Eliminate an unnecessary test from vm_phys_unfree_page().
Diffstat (limited to 'sys')
-rw-r--r-- | sys/vm/vm_phys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/vm_phys.c b/sys/vm/vm_phys.c index be3e7fb..b477b5b 100644 --- a/sys/vm/vm_phys.c +++ b/sys/vm/vm_phys.c @@ -491,7 +491,7 @@ vm_phys_unfree_page(vm_page_t m) order < VM_NFREEORDER - 1; ) { order++; pa = m->phys_addr & (~(vm_paddr_t)0 << (PAGE_SHIFT + order)); - if (pa >= seg->start && pa < seg->end) + if (pa >= seg->start) m_set = &seg->first_page[atop(pa - seg->start)]; else return (FALSE); |