# Re: BUG or not? GFP\_KERNEL with interrupts disabled.

- From: David S. Miller \<hidden\>
- Date: 2003-03-27 17:48:30 
- List: netdev
- Page: https://ratatoskr.run/netdev/2003/03/537864
- Thread: https://ratatoskr.run/lkml/2003/03/537766/t.md

```text
   From: Linus Torvalds [ref]
   Date: Thu, 27 Mar 2003 09:22:29 -0800 (PST)

   I do agree that we should obviously not run bottom halves with
   interrupts disabled
   
Ok, so can we add a:

	if (irqs_disabled())
		BUG();

check to do_softirq()?

I'll address the rest of your email in a bit.
```
