Re: [patch 00/35] net: in_interrupt() cleanup and fixes

From: Joe Perches
Date: Sun Sep 27 2020 - 16:22:27 EST


On Sun, 2020-09-27 at 21:48 +0200, Thomas Gleixner wrote:
> Folks,
>
> in the discussion about preempt count consistency accross 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 includes conditional locking, allocation mode (GFP_*) decisions and
> avoidance of code paths which might sleep.

Are these patches intended to be applied to Linus'
tree before v5.9 is released?

This patchset will cause conflicts against -next.

For instance, in patch 34, RT_TRACE has already
been removed in -next.