Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Oct 2000 12:14:31 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Warner Losh <imp@village.org>
Cc:        smp@FreeBSD.org
Subject:   Re: Releasing interrupts?
Message-ID:  <XFMail.001005121431.jhb@FreeBSD.org>
In-Reply-To: <200010051856.MAA01219@harmony.village.org>

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

On 05-Oct-00 Warner Losh wrote:
> In message <XFMail.001005115352.jhb@FreeBSD.org> John Baldwin writes:
>: thread.  However, the code should handle adding and removing handlers
>: ok.  In inthand_add() we check to see if the thread we are adding a
>: handler to has no handlers and if not we act as if we are sort of creating
>: a new ithread.
> 
> OK.  I'll look at why inthand_add() isn't working in that case then,
> or track down why the interrupts don't get passed on to my interrupt
> routine.  thanks for the pointer.  I've seen it twice now, but usually
> don't see it because I usually just have one card.
> 
> I'll need a  kthread_cancel for unloading the pccard device in NEWCARD
> since it uses a thread to process the insert/remove events.

You may be able to orchestrate a way to have your thread call kthread_exit(),
which would work.  The person to bug for a kthread_cancel() is Peter though.
:)
 
> Warner

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-smp" in the body of the message




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