[PATCH] net: ethernet: mediatek: enhance the locking using the lightweight ones

David Miller davem at davemloft.net
Fri Aug 12 20:35:13 PDT 2016


From: <sean.wang at mediatek.com>
Date: Thu, 11 Aug 2016 17:51:00 +0800

> From: Sean Wang <sean.wang at mediatek.com>
> 
> Since these critical sections protected by page_lock are all entered
> from the user context or bottom half context, they can be replaced
> with the spin_lock() or spin_lock_bh instead of spin_lock_irqsave().
> 
> Signed-off-by: Sean Wang <sean.wang at mediatek.com>

Applied to net-next, thanks.



More information about the Linux-mediatek mailing list