Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jan 2013 12:07:35 -0800
From:      Adrian Chadd <adrian@freebsd.org>
To:        John Baldwin <jhb@freebsd.org>
Cc:        freebsd-net@freebsd.org, Luigi Rizzo <rizzo@iet.unipi.it>, Barney Cordoba <barney_cordoba@yahoo.com>
Subject:   Re: two problems in dev/e1000/if_lem.c::lem_handle_rxtx()
Message-ID:  <CAJ-VmokRFrFeK33_8a7ObapR7OXO730k2f-uBC_pgKmEqZw0uw@mail.gmail.com>
In-Reply-To: <201301181149.42277.jhb@freebsd.org>
References:  <1358519440.88044.YahooMailClassic@web121605.mail.ne1.yahoo.com> <201301181149.42277.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
For my purposes, rescheduling the taskqueue means that other things
(such as TX, reset processing, other state handling, etc) can run
before the next pass at RX completion.

Also, IIRC, acquiring mutexes are one of those magic points where the
scheduler may decide to switch things around in a preemption kernel.



Adrian



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmokRFrFeK33_8a7ObapR7OXO730k2f-uBC_pgKmEqZw0uw>