[PATCH v4 36/36] net/mvpp2: Replace tasklet with softirq hrtimer

2017-12-21 Thread Anna-Maria Gleixner
From: Thomas Gleixner The tx_done_tasklet tasklet is used in invoke the hrtimer (mvpp2_hr_timer_cb) in softirq context. This can be also achieved without the tasklet but with HRTIMER_MODE_SOFT as hrtimer mode. Signed-off-by: Thomas Gleixner Signed-off-by: Anna-Maria Gleixner Cc: Thomas

[PATCH v4 32/36] xfrm: Replace hrtimer tasklet with softirq hrtimer

2017-12-21 Thread Anna-Maria Gleixner
From: Thomas Gleixner Switch the timer to HRTIMER_MODE_SOFT, which executed the timer callback in softirq context and remove the hrtimer_tasklet. Signed-off-by: Thomas Gleixner Signed-off-by: Anna-Maria Gleixner Cc: Steffen Klassert Cc: netdev@vger.kernel.org Cc: Herbert Xu Cc: "Da

[PATCH v3 36/36] net/mvpp2: Replace tasklet with softirq hrtimer

2017-11-29 Thread Anna-Maria Gleixner
From: Thomas Gleixner The tx_done_tasklet tasklet is used in invoke the hrtimer (mvpp2_hr_timer_cb) in softirq context. This can be also achieved without the tasklet but with HRTIMER_MODE_SOFT as hrtimer mode. Signed-off-by: Thomas Gleixner Signed-off-by: Anna-Maria Gleixner Cc: Thomas

[PATCH v3 32/36] xfrm: Replace hrtimer tasklet with softirq hrtimer

2017-11-29 Thread Anna-Maria Gleixner
From: Thomas Gleixner Switch the timer to HRTIMER_MODE_SOFT, which executed the timer callback in softirq context and remove the hrtimer_tasklet. Signed-off-by: Thomas Gleixner Signed-off-by: Anna-Maria Gleixner Cc: Steffen Klassert Cc: netdev@vger.kernel.org Cc: Herbert Xu Cc: "Da

[PATCH v2 32/37] xfrm: Replace hrtimer tasklet with softirq hrtimer

2017-10-22 Thread Anna-Maria Gleixner
From: Thomas Gleixner Switch the timer to HRTIMER_MODE_SOFT, which executed the timer callback in softirq context and remove the hrtimer_tasklet. Signed-off-by: Thomas Gleixner Signed-off-by: Anna-Maria Gleixner Cc: Steffen Klassert Cc: Herbert Xu Cc: "David S. Miller"

[PATCH v2 37/37] net/mvpp2: Replace tasklet with softirq hrtimer

2017-10-22 Thread Anna-Maria Gleixner
From: Thomas Gleixner The tx_done_tasklet tasklet is used in invoke the hrtimer (mvpp2_hr_timer_cb) in softirq context. This can be also achieved without the tasklet but with HRTIMER_MODE_SOFT as hrtimer mode. Signed-off-by: Thomas Gleixner Signed-off-by: Anna-Maria Gleixner Cc: "Da

[PATCH 24/25] net/cdc_ncm: Replace tasklet with softirq hrtimer

2017-08-31 Thread Anna-Maria Gleixner
From: Thomas Gleixner The bh tasklet is used in invoke the hrtimer (cdc_ncm_tx_timer_cb) in softirq context. This can be also achieved without the tasklet but with CLOCK_MONOTONIC_SOFT as hrtimer base. Signed-off-by: Thomas Gleixner Signed-off-by: Anna-Maria Gleixner Cc: Oliver Neukum Cc

[PATCH 21/25] xfrm: Replace hrtimer tasklet with softirq hrtimer

2017-08-31 Thread Anna-Maria Gleixner
From: Thomas Gleixner Switch the timer to CLOCK_MONOTONIC_SOFT, which executed the timer callback in softirq context and remove the hrtimer_tasklet. Signed-off-by: Thomas Gleixner Signed-off-by: Anna-Maria Gleixner Cc: Steffen Klassert Cc: Herbert Xu Cc: "David S. Miller"

[PATCH v2] net: mvneta: Remove superfluous SMP function call

2016-05-02 Thread Anna-Maria Gleixner
h a direct call to mvneta_percpu_enable() or mvneta_percpu_disable(). The functions do not require to be called with interrupts disabled, therefore the smp_call_function_single() calling convention is not preserved. Cc: Thomas Petazzoni Cc: netdev@vger.kernel.org Signed-off-by: Anna-Mari

Re: [PREEMPT-RT] [PATCH] net: mvneta: Remove superfluous SMP function call

2016-04-05 Thread Anna-Maria Gleixner
On Mon, 4 Apr 2016, Anna-Maria Gleixner wrote: > Since commit 1cf4f629d9d2 ("cpu/hotplug: Move online calls to > hotplugged cpu") it is ensured that callbacks of CPU_ONLINE and > CPU_DOWN_PREPARE are processed on the hotplugged cpu. Due to this SMP > function calls

[PATCH] net: mvneta: Remove superfluous SMP function call

2016-04-04 Thread Anna-Maria Gleixner
ct call to mvneta_percpu_enable() or mvneta_percpu_disable(). The functions do not require to be called with interrupts disabled, therefore the smp_call_function_single() calling convention is not preserved. Cc: Thomas Petazzoni Cc: netdev@vger.kernel.org Signed-off-by: Anna-Maria Gleixner --- d

[PATCH] net: mvneta: Add missing hotplug notifier transition

2016-03-11 Thread Anna-Maria Gleixner
: netdev@vger.kernel.org Signed-off-by: Anna-Maria Gleixner --- drivers/net/ethernet/marvell/mvneta.c |2 ++ 1 file changed, 2 insertions(+) --- a/drivers/net/ethernet/marvell/mvneta.c +++ b/drivers/net/ethernet/marvell/mvneta.c @@ -2920,6 +2920,8 @@ static int mvneta_percpu_notifier(struct