Thread (11 messages) flat view 11 messages, 3 authors, 2000-02-12

Re: Latest OpenPic changes

From: Benjamin Herrenschmidt <hidden>
Date: 2000-02-11 18:38:08

On Fri, Feb 11, 2000, Gabriel Paubert [off-list ref] wrote:
If it's truly the case we should consider a different solution. Masking
interrupts in a device or controller for a very short lapse is dominated
by the HW access overhead, and this is bad. sync instructions are also
extremely bad.
I implemented it in both enable and disable for "correctness" so that the
status of the controller is guaranteed when exiting any of those 2
functions. I agree that the unmask case may not be important.

I beleive the sync here can also be completely removed too. A single
eieio is plenty enough because of the read. Isn't it ?

Ben.


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help