tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: nfs server lockup (again)
On Thu, Jun 23, 2011 at 10:59:17AM -0400, Thor Lancelot Simon wrote:
> On Thu, Jun 23, 2011 at 04:23:59PM +0200, Manuel Bouyer wrote:
> >
> > Also there is (from worqueue_enqueue(9)):
> > "The enqueued work will be processed in a thread context. A work must not
> > be enqueued again until the callback is called by the workqueue(9) frame-
> > work."
>
> This is bizarre. Reading it, I note that I've written some buggy code
> assuming that workqueues were, you know, *queues* -- not
> queues-of-one-element.
>
> I think it means that you cannot enqueue the _same_ struct work
> repeatedly, though. Not a problem, in practice, if you embed one
> struct work in each instance of your other datastructure. No?
Maybe, but in this case if would be in mbuf; it doesn't look doable ...
--
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
NetBSD: 26 ans d'experience feront toujours la difference
--
Home |
Main Index |
Thread Index |
Old Index