[Bug 216096] Few typos in comments in buf_ring.h
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Jan 15 08:21:27 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216096
Bug ID: 216096
Summary: Few typos in comments in buf_ring.h
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: kern
Assignee: freebsd-bugs at FreeBSD.org
Reporter: bltsrc at mail.ru
r309414
sys/sys/buf_ring.h
Used to return a buffer (most likely already there)
* to the top od the ring. The caller should *not*
* have used any dequeue to pull it out of the ring
* but instead should have used the peek() function.
* This is normally used where the transmit queue
typo here -> * of a driver is full, and an MUBF must be returned.
should be ... mbuf ..., not mubf
* Most likely whats in the ring-buffer is what
* is being put back (since it was not removed), but
* sometimes the lower transmit function may have
* done a pullup or other function that will have
typo here -> * changed it. As an OPTIMZATION we always put it
should be ... optimization(or optimisation)
* back (since jhb says the store is probably cheaper),
* if we have to do a multi-queue version we will need
* the compare and an atomic.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list