]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Address a performance problem in getnewbuf:
authorAlan Cox <alc@FreeBSD.org>
Thu, 29 Apr 1999 18:15:25 +0000 (18:15 +0000)
committerAlan Cox <alc@FreeBSD.org>
Thu, 29 Apr 1999 18:15:25 +0000 (18:15 +0000)
commit0043b4376a5cbf1ba81de61cc919b468c65738b0
tree46d296a135c5ab753b16bd06b7ef35e19b085055
parentd75db65f5964638558f3c19b14fde4825d67a0fe
Address a performance problem in getnewbuf:
In heavy-writing situations, QUEUE_LRU can contain a large number
of DELWRI buffers at its head.  These buffers must be moved
to the tail if they cannot be written async in order to reduce
the scanning time required to skip past these buffers in later
getnewbuf() calls.

Submitted by: Matthew Dillon <dillon@apollo.backplane.com>
sys/kern/vfs_bio.c