CVSROOT: /cvs Module name: src Changes by: henn...@cvs.openbsd.org 2009/08/09 06:50:09
Modified files: sys/kern : uipc_mbuf.c uipc_mbuf2.c sys/sys : mbuf.h Log message: make mbuf tags suck a bit less, performance wise. the most common operation is checking for a particular tag to be there. in the majority of the cases it is not. introduce a "tagsset" in the mbuf packet header which has a bit for each mbuf tag type that is in the chain set, checking for its existance is now as easy and cheap as (tagsset & type) != 0. theo ok