https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265005

--- Comment #7 from Mark Johnston <[email protected]> ---
(In reply to ed crowe from comment #5)
Thanks!

With respect to interrupts, what happens in asmc(4) is that an interrupt
triggers a call to asmc_sms_intrfast(), which determines the interrupt type,
latches it in sc->sc_sms_intrtype, and potentially prints a message.  Then, it
schedules a thread to deliver the devd notification, by calling
taskqueue_enqueue().  That causes asmc_sms_task() to be called.

So, the question is whether we do in fact want to hide these interrupts from
devd.  Per comment 4 it seems like the interrupts aren't spurious, i.e., the
driver is behaving more or less as intended.  So I think the real question is
whether the light sensor interrupt is generating "too many" notifications: when
running top(1), do you see devd consuming a significant amount of CPU time?  If
not, then I wouldn't worry much about it and can simply commit the latest
patch.

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

Reply via email to