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-30 11:26:41 -07:00
2019-05-30 11:29:21 -07:00
2019-05-30 11:26:32 -07:00
2019-06-07 11:00:14 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-09 09:44:17 -07:00
2019-05-21 10:50:46 +02:00
2019-05-30 11:29:53 -07:00
2019-05-21 10:50:46 +02:00
2019-06-07 11:00:14 -07:00
2019-05-30 11:29:22 -07:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-06-09 19:40:10 -07:00
2019-05-30 11:29:52 -07:00
2019-05-30 11:26:32 -07:00
2019-05-24 17:36:42 +02:00
2019-05-21 10:50:46 +02:00
2019-06-08 15:20:40 -07:00
2019-06-07 11:00:14 -07:00
2019-05-23 09:29:44 -07:00
2019-06-07 11:00:14 -07:00
2019-05-21 10:50:46 +02:00
2019-06-07 11:00:14 -07:00
2019-06-07 11:00:14 -07:00
2019-05-30 11:26:32 -07:00
2019-05-21 10:50:46 +02:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-24 17:27:12 +02:00
2019-05-28 17:25:23 -07:00
2019-06-02 18:08:36 -07:00
2019-05-30 11:26:41 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-06-07 11:00:14 -07:00
2019-05-21 11:28:45 +02:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-21 11:28:45 +02:00
2019-05-21 10:50:46 +02:00
2019-06-07 11:00:14 -07:00
2019-06-07 09:29:14 -07:00
2019-05-21 12:33:38 -07:00
2019-05-21 10:50:46 +02:00
2019-05-22 08:28:16 -07:00
2019-06-07 11:00:14 -07:00
2019-05-21 11:28:45 +02:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-06-07 11:00:14 -07:00
2019-06-07 11:00:14 -07:00
2019-06-02 18:06:26 -07:00
2019-06-04 14:33:50 -07:00
2019-05-30 15:29:41 -04:00
2019-05-30 11:26:32 -07:00
2019-05-22 08:28:16 -07:00
2019-06-07 11:00:14 -07:00
2019-06-07 11:00:14 -07:00
2019-06-07 11:00:14 -07:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-05-24 17:27:12 +02:00
2019-05-21 10:50:46 +02:00
2019-05-30 11:26:32 -07:00
2019-05-21 10:50:45 +02:00
2019-05-21 10:50:46 +02:00
2019-02-28 08:24:23 -07:00
2019-06-07 11:00:14 -07:00
2019-05-21 10:50:45 +02:00