git: kqueue: Avoid reprocessing processed knotes in KNOTE.
Sepherosa Ziehau
sephe at crater.dragonflybsd.org
Tue Feb 23 05:24:15 PST 2016
commit ed9db6a1912db34af387ff6978a265003258df16
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date: Mon Feb 22 22:08:36 2016 +0800
kqueue: Avoid reprocessing processed knotes in KNOTE.
Put a marker before the currently processing knote, so that even if
we have to reprocess this knote for non-zero hint, we don't have to
reprocess already-processed knotes, i.e. knotes before the marker.
Reviewed-by: dillon@
Summary of changes:
sys/kern/kern_event.c | 147 ++++++++++++++++++++++++++++++++++++++------------
1 file changed, 113 insertions(+), 34 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ed9db6a1912db34af387ff6978a265003258df16
--
DragonFly BSD source repository
More information about the Commits
mailing list