Files
linux/include/net
Sebastian Andrzej Siewior 6dcdd884e2 net: hwbm: Make the hwbm_pool lock a mutex
Based on review, `lock' is only acquired in hwbm_pool_add() which is
invoked via ->probe(), ->resume() and ->ndo_change_mtu(). Based on this
the lock can become a mutex and there is no need to disable interrupts
during the procedure.
Now that the lock is a mutex, hwbm_pool_add() no longer invokes
hwbm_pool_refill() in an atomic context so we can pass GFP_KERNEL to
hwbm_pool_refill() and remove the `gfp' argument from hwbm_pool_add().

Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-06-09 19:40:10 -07:00
..
2019-05-28 21:37:30 -07:00
2019-02-21 16:23:56 -08:00
2019-01-23 11:18:00 -08:00
2019-06-09 13:36:01 -07:00
2018-07-30 09:10:25 -07:00
2019-04-19 14:07:40 -07:00
2019-03-21 13:39:25 -07:00
2018-02-28 11:43:28 -05:00
2017-10-11 09:49:34 +02:00
2017-12-11 14:10:06 -05:00
2018-09-13 09:04:58 -07:00
2019-05-28 21:37:30 -07:00
2017-11-08 16:12:33 +09:00
2018-09-25 20:17:35 -07:00
2017-12-05 14:37:13 -05:00
2018-05-16 07:23:35 +02:00
2019-04-22 21:47:25 -07:00
2018-08-29 12:25:53 -07:00