Re: BUG or not? GFP_KERNEL with interrupts disabled.

David S. Miller (davem@redhat.com)
Thu, 27 Mar 2003 06:12:41 -0800 (PST)


From: Trond Myklebust <trond.myklebust@fys.uio.no>
Date: 27 Mar 2003 15:11:56 +0100

> IRQ disabling is meant to be stronger than softint disabling.

In that case, you'll need to have things like spin_lock_irqrestore()
call local_bh_enable() in order to run the pending softirqs. Is that
worth the trouble?

"trouble" is a weird word to use when the current behavior is
just wrong. :-)

My point is that it doesn't matter what the fix is, running
softints while hw IRQs are disabled must be fixed.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/