Messages in this thread | | | Date | Tue, 26 Jun 2018 17:46:07 +0400 | From | Wolfram Sang <> | Subject | Re: [PATCH 1/5] i2c: smbus: add unlocked __i2c_smbus_xfer variant |
| |
> I don't think it's that easy as I just thought about another problem > with lifting the locking from the emulation function. It calls > kzalloc(..., GFP_KERNEL), at least in some cases, and that's not a > very good idea from atomic/irq context...
Right. However, we could simply bail out early when we are in atomic context. Simply no DMA then...
[unhandled content-type:application/pgp-signature]
| |