Date: Wed, 2 Nov 2005 14:27:24 +0000 (UTC) From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netgraph netgraph.h ng_base.c Message-ID: <200511021427.jA2EROxs080818@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
glebius 2005-11-02 14:27:24 UTC
FreeBSD src repository
Modified files:
sys/netgraph netgraph.h ng_base.c
Log:
Rework the ng_item queueing on nodes:
- Introduce a new flags NGQF_QREADER and NGQF_QWRITER,
which tell how the item should be actually applied,
overriding NGQF_READER/NGQF_WRITER flags.
- Do not differ between pending reader or writer. Use only
one flag that is raised, when there are pending items.
- Schedule netgraph ISR in ng_queue_rw(), so that callers
do not need to do this job.
- Fix several comments.
Submitted by: julian
Revision Changes Path
1.62 +12 -3 src/sys/netgraph/netgraph.h
1.116 +106 -121 src/sys/netgraph/ng_base.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511021427.jA2EROxs080818>
