Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Apr 2003 11:11:46 -0400 (EDT)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        John Baldwin <jhb@FreeBSD.ORG>
Cc:        freebsd-arch@FreeBSD.ORG
Subject:   Re: lots of malloc(M_WAITOK)'s in interrupt context from camisr
Message-ID:  <16047.59314.532227.475952@grasshopper.cs.duke.edu>
In-Reply-To: <XFMail.20030429140451.jhb@FreeBSD.org>
References:  <200304290438.h3T4cdHE069528@arch20m.dellroad.org> <XFMail.20030429140451.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

John Baldwin writes:

 > If you need to do more work in your interrupt routine than just wakeups
 > and dinking with registers, you can always wake up a software interrupt
 > handler or some other random kthread to do things that take a long amount

Dumb question: Exactly what is one allowed to do in an INTR_FAST
interrupt context?  Obviously, you can't sleep.  But can you call
wakeup()?

Drew



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