how to tell if you are executing in soft IRQ context

From: Jeff Haran
Date: Wed Sep 08 2010 - 20:17:58 EST


Hi,

Is there a function that can be called to determine if you are executing
in soft IRQ context in kernel version 2.6.31?

Note I've already tried in_softirq(). That doesn't work since it also
returns non-zero if you are running in process context but have disabled
bottom halves.

Thanks,

Jeff Haran

http://www.bytemobile.com/blog

This e-mail and any attachments may contain confidential and privileged information. If you are not the intended recipient, please notify the sender immediately by return e-mail, do not forward this email to any other person, delete this e-mail and destroy all copies. Any dissemination or use of this information by a person other than the intended recipient is unauthorized and may be illegal.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/