Re: BUG or not? GFP_KERNEL with interrupts disabled.

From
David S. Miller <hidden>
Date
2003-03-27 18:01:08
Also in
lkml
Reply to
Linus Torvalds, 2003-03-27
   From: Linus Torvalds [off-list ref]
   Date: Thu, 27 Mar 2003 10:04:52 -0800 (PST)

   I'd suggest making it a counting warning (with a static counter per
   local-bh-enable macro expansion) and adding it to local_bh_enable() -
   otherwise it will only BUG()  when the (potentially rare) condition
   happens - instead of always giving a nice backtrace of exact problem 
   spots.

Ok, maybe it's time to move local_bh_enable() out of line, it's
getting large and it's expanded in hundreds of places.
Thread (15 messages) 15 messages, 9 authors, last reply 2004-10-12
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help