# Re: \[Linux-fbdev-devel\] Re: inappropriate use of in\_atomic()

- From: Benjamin Herrenschmidt \<hidden\>
- Date: 2005-03-11 12:31:14 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2005/03/718298
- Thread: https://ratatoskr.run/lkml/2005/03/718216/t.md

```text
On Fri, 2005-03-11 at 01:46 -0800, Andrew Morton wrote:
> Jan Kasprzak [ref] wrote:
> >
> > This may be the cause of 
> > 
> >  http://bugme.osdl.org/show_bug.cgi?id=4150
> 
> Looks that way, yes.

Note that it would be interesting to fix that (I mean the reliability of
is_atomic() or an alternative). I agree it's quite bad to rely on that
in practice, but there are a few corner cases where it's useful (like
oops handling in fbdev's etc...)

Ben.




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
```
