mbox series

[net-next,0/6] s390/ctcm: updates 2020-11-30

Message ID 20201130100950.42051-1-jwi@linux.ibm.com
Headers show
Series s390/ctcm: updates 2020-11-30 | expand

Message

Julian Wiedmann Nov. 30, 2020, 10:09 a.m. UTC
Hi Jakub,

please apply the following patch series for ctcm to netdev's net-next tree.

Some rare ctcm updates by Sebastian, who cleans up all places where
in_interrupt() was used to determine the correct GFP_* mask for
allocations.
In the first three patches we can get rid of those allocations entirely,
as they just end up being copied into the skb.

Thanks,
Julian

Sebastian Andrzej Siewior (6):
  s390/ctcm: Avoid temporary allocation of struct th_header and
    th_sweep.
  s390/ctcm: Avoid temporary allocation of struct qllc.
  s390/ctcm: Avoid temporary allocation of struct pdu.
  s390/ctcm: Use explicit allocation mask in ctcmpc_unpack_skb().
  s390/ctcm: Use GFP_KERNEL in add_channel().
  s390/ctcm: Use GFP_ATOMIC in ctcmpc_tx().

 drivers/s390/net/ctcm_fsms.c | 15 +++-----
 drivers/s390/net/ctcm_main.c | 68 ++++++++----------------------------
 drivers/s390/net/ctcm_main.h |  5 ---
 drivers/s390/net/ctcm_mpc.c  | 39 ++++-----------------
 4 files changed, 24 insertions(+), 103 deletions(-)

Comments

Jakub Kicinski Dec. 2, 2020, 1:04 a.m. UTC | #1
On Mon, 30 Nov 2020 11:09:44 +0100 Julian Wiedmann wrote:
> Some rare ctcm updates by Sebastian, who cleans up all places where
> in_interrupt() was used to determine the correct GFP_* mask for
> allocations.
> In the first three patches we can get rid of those allocations entirely,
> as they just end up being copied into the skb.

Applied, thanks!