Skip to content
Snippets Groups Projects
Commit a2708d11 authored by John Crispin's avatar John Crispin
Browse files

ramips: Rework ramips_eth to not require irqsave locking anymore


Previously the tx housekeeping was done in a spin_lock_irqsave critical
section which causes irqs to be disabled during that time. Since the
housekeeping is already prepared to be scheduled as a tasklet process
the housekeeping only in softirq context and revise the locking between
the tx path and the housekeeping tasklet by using a normal spin_lock
which in most situations will be a NOP anyway.

This makes sure that interrupts are only disabled for a short time
since in the worst case the housekeeping might have to free up to 256
skbs.

Signed-off-by: default avatarHelmut Schaa <helmut.schaa@googlemail.com>

SVN-Revision: 29762
parent 2683b5b1
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment