diff options
author | kib <kib@FreeBSD.org> | 2013-09-13 19:50:50 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2013-09-13 19:50:50 +0000 |
commit | 36c84de38fc0ad766cbad9ed3b1cbca82726035f (patch) | |
tree | 64ae80629089cd33a9a644518d498d0aff4181e8 /sys/sys/event.h | |
parent | 99904243da23aa13861ff7c8f308dd5d325cc765 (diff) | |
download | FreeBSD-src-36c84de38fc0ad766cbad9ed3b1cbca82726035f.zip FreeBSD-src-36c84de38fc0ad766cbad9ed3b1cbca82726035f.tar.gz |
Use TAILQ instead of STAILQ for kqeueue filedescriptors to ensure constant
time removal on kqueue close.
Reported and tested by: pho
Reviewed by: jmg
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Approved by: re (delphij)
Diffstat (limited to 'sys/sys/event.h')
-rw-r--r-- | sys/sys/event.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/event.h b/sys/sys/event.h index 1066e36..03bd7b9 100644 --- a/sys/sys/event.h +++ b/sys/sys/event.h @@ -135,7 +135,7 @@ struct kevent { struct knote; SLIST_HEAD(klist, knote); struct kqueue; -SLIST_HEAD(kqlist, kqueue); +TAILQ_HEAD(kqlist, kqueue); struct knlist { struct klist kl_list; void (*kl_lock)(void *); /* lock function */ |