On 18.11.20 12:53, Sebastian Andrzej Siewior wrote: > Folks, > > in the discussion about preempt count consistency across kernel > configurations: > https://lore.kernel.org/r/20200914204209.256266093@xxxxxxxxxxxxx/ > > Linus clearly requested that code in drivers and libraries which changes > behaviour based on execution context should either be split up so that > e.g. task context invocations and BH invocations have different interfaces > or if that's not possible the context information has to be provided by the > caller which knows in which context it is executing. > > This series is removing the gfp_type() usage which uses in_interrupt(). > Overall it appears to be a nice cleanup according to the diffstat. Thank you for digging through this mess! > There are still two in_irq() users left in ctcm which I'm currently > struggling with. > If that fixes the sparse complaints about unbalanced locking, it will be very much appreciated! > Sebastian > >