Re: [PATCH/RFC] I/O-check interface for driver's error handling

From: Pavel Machek <pavel_at_suse.cz>
Date: 2005-03-05 09:57:10
Hi!

> > Hmm, before we go async way (nasty locking, no?) could driver simply
> > ask "did something bad happen while I was sleeping?" at begining of each
> > function?
> > 
> > For DMA problems, driver probably has its own, timer-based,
> > "something is wrong" timer, anyway, no?
> 
> No, there is no nasty locking, when the callback happens, pretty much
> all IOs have stopped anyway due to errors, and we aren't on a critical
> code path.

What prevents driver from being run on another CPU, maybe just doing
mdelay() between hardware accesses? 

								Pavel
-- 
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Sat Mar 5 00:30:32 2005

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:36 EST