[openib-general] Re: [Andrew Morton] inappropriate use of in_atomic()

Libor Michalek libor at topspin.com
Fri Mar 11 15:43:16 PST 2005


On Fri, Mar 11, 2005 at 09:31:08AM +0200, Michael S. Tsirkin wrote:
> 
> Sdp also has a couple of uses.
> Maybe we can use the atomic branch in all cases here, as well?
> Libor?

  Yes, the case in sdp_iocb.c can probably always take the atomic
path. The kmap/kunmap cases really only care whether we're in an
interrupt, so switching to in_interrupt() should be sufficient.

-Libor



More information about the general mailing list