diff options
author | msmith <msmith@FreeBSD.org> | 1999-10-26 23:18:57 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 1999-10-26 23:18:57 +0000 |
commit | 792afbe803fb8075c0d74c67a994d33a5eac6cc7 (patch) | |
tree | 2ccfac32c9a0db01822c9d5a99d04e547833ff39 /sys/dev/amr/amrvar.h | |
parent | 04574f03d364517974d4c110979a0f1455aeedee (diff) | |
download | FreeBSD-src-792afbe803fb8075c0d74c67a994d33a5eac6cc7.zip FreeBSD-src-792afbe803fb8075c0d74c67a994d33a5eac6cc7.tar.gz |
Change the queueing model used by the controller to drastically reduce
the time spent at splbio(). We now avoid it unless we are actually
manipulating the command queues themselves. This doesn't improve
performance noticeably, but should improve concurrency somewhat.
Diffstat (limited to 'sys/dev/amr/amrvar.h')
-rw-r--r-- | sys/dev/amr/amrvar.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/amr/amrvar.h b/sys/dev/amr/amrvar.h index c35d5db..f3955a6 100644 --- a/sys/dev/amr/amrvar.h +++ b/sys/dev/amr/amrvar.h @@ -137,8 +137,8 @@ struct amr_softc int amr_waitbufs; struct amr_command *amr_busycmd[AMR_MAXCMD]; int amr_busycmdcount; - TAILQ_HEAD(,amr_command) amr_donecmds; - int amr_donecmdcount; + TAILQ_HEAD(,amr_command) amr_work; + int amr_workcount; TAILQ_HEAD(,amr_command) amr_freecmds; /* controller type-specific support */ |