diff options
author | tedu <tedu@openbsd.org> | 2016-09-24 18:39:17 +0000 |
---|---|---|
committer | tedu <tedu@openbsd.org> | 2016-09-24 18:39:17 +0000 |
commit | 94736307e51a771772e4f368c6068c457bffa3f5 (patch) | |
tree | 8515ccc2c6bbcf46efe059fcd6a4b097b9f5fdd4 /sys/sys/event.h | |
parent | use hashfree in fs code. from Mathieu - (diff) | |
download | wireguard-openbsd-94736307e51a771772e4f368c6068c457bffa3f5.tar.xz wireguard-openbsd-94736307e51a771772e4f368c6068c457bffa3f5.zip |
move knhash size to event.h, use it for hashfree. from Mathieu -
ok guenther
Diffstat (limited to 'sys/sys/event.h')
-rw-r--r-- | sys/sys/event.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/sys/event.h b/sys/sys/event.h index f7c2530ce57..b238958dcfd 100644 --- a/sys/sys/event.h +++ b/sys/sys/event.h @@ -1,4 +1,4 @@ -/* $OpenBSD: event.h,v 1.22 2016/08/13 17:05:02 tedu Exp $ */ +/* $OpenBSD: event.h,v 1.23 2016/09/24 18:39:17 tedu Exp $ */ /*- * Copyright (c) 1999,2000,2001 Jonathan Lemon <jlemon@FreeBSD.org> @@ -123,6 +123,8 @@ SLIST_HEAD(klist, knote); knote((list), (hint)); \ } while (0) +#define KN_HASHSIZE 64 /* XXX should be tunable */ + /* * Flag indicating hint is a signal. Used by EVFILT_SIGNAL, and also * shared by EVFILT_PROC (all knotes attached to p->p_klist) |