Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Jan 2017 08:21:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 216096] Few typos in comments in buf_ring.h
Message-ID:  <bug-216096-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216096

            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@FreeBSD.org
          Reporter: bltsrc@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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-216096-8>