Message ID | 20200927194846.045411263@linutronix.de (mailing list archive) |
---|---|
Headers | show |
Series | net: in_interrupt() cleanup and fixes | expand |
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@linutronix.de/ > > 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.
From: Thomas Gleixner <tglx@linutronix.de> Date: Sun, 27 Sep 2020 21:48:46 +0200 > in the discussion about preempt count consistency accross kernel configurations: Please respin this against net-next, some of the patches in here are already in net-next (the wireless debug macro one) and even after that the series doesn't build: drivers/net/ethernet/cisco/enic/enic_main.c: In function ‘enic_reset’: drivers/net/ethernet/cisco/enic/enic_main.c:2315:2: error: implicit declaration of function ‘enic_set_api_state’; did you mean ‘enic_set_api_busy’? [-Werror=implicit-function-declaration] 2315 | enic_set_api_state(enic, true); | ^~~~~~~~~~~~~~~~~~ | enic_set_api_busy At top level: drivers/net/ethernet/cisco/enic/enic_main.c:2298:13: warning: ‘enic_set_api_busy’ defined but not used [-Wunused-function] 2298 | static void enic_set_api_busy(struct enic *enic, bool busy) | ^~~~~~~~~~~~~~~~~
On Sun, Sep 27 2020 at 13:57, David Miller wrote: > From: Thomas Gleixner <tglx@linutronix.de> > Date: Sun, 27 Sep 2020 21:48:46 +0200 > >> in the discussion about preempt count consistency accross kernel configurations: > > Please respin this against net-next, some of the patches in here are already > in net-next (the wireless debug macro one) and even after that the series > doesn't build: Will do. > drivers/net/ethernet/cisco/enic/enic_main.c: In function ‘enic_reset’: > drivers/net/ethernet/cisco/enic/enic_main.c:2315:2: error: implicit declaration of function ‘enic_set_api_state’; did you mean ‘enic_set_api_busy’? [-Werror=implicit-function-declaration] > 2315 | enic_set_api_state(enic, true); > | ^~~~~~~~~~~~~~~~~~ > | enic_set_api_busy > At top level: > drivers/net/ethernet/cisco/enic/enic_main.c:2298:13: warning: ‘enic_set_api_busy’ defined but not used [-Wunused-function] > 2298 | static void enic_set_api_busy(struct enic *enic, bool busy) > | ^~~~~~~~~~~~~~~~~ Duh, not sure how I managed that. Sorry. will fix and rebase. Thanks, tglx