diff options
author | alc <alc@FreeBSD.org> | 2010-05-03 15:51:59 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2010-05-03 15:51:59 +0000 |
commit | 425dc5ab94cdbb6f198795a09b2c4330721536c0 (patch) | |
tree | 082c40946c3f017ab5b6b1319ca93216d31aacab /sys | |
parent | 6e9b1a98198b959748ee45e847e15c3ad02dbb6b (diff) | |
download | FreeBSD-src-425dc5ab94cdbb6f198795a09b2c4330721536c0.zip FreeBSD-src-425dc5ab94cdbb6f198795a09b2c4330721536c0.tar.gz |
Neither the page lock nor the page queues lock is required to unwire and
free a VM_ALLOC_NOOBJ page. (Such pages are unmanaged.)
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ti/if_ti.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/ti/if_ti.c b/sys/dev/ti/if_ti.c index 20130bc..7eeee36 100644 --- a/sys/dev/ti/if_ti.c +++ b/sys/dev/ti/if_ti.c @@ -1488,10 +1488,8 @@ ti_newbuf_jumbo(sc, idx, m_old) } sf[i] = sf_buf_alloc(frame, SFB_NOWAIT); if (sf[i] == NULL) { - vm_page_lock_queues(); vm_page_unwire(frame, 0); vm_page_free(frame); - vm_page_unlock_queues(); device_printf(sc->ti_dev, "buffer allocation " "failed -- packet dropped!\n"); printf(" index %d page %d\n", idx, i); |