OSDN Git Service

net/af_iucv: remove GFP_DMA restriction for HiperTransport
authorJulian Wiedmann <jwi@linux.ibm.com>
Tue, 18 Jun 2019 18:42:59 +0000 (20:42 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Jun 2019 20:26:33 +0000 (16:26 -0400)
commitfdbf6326912d578a31ac4ca0933c919eadf1d54c
tree37223616d353d9587a4d56256c43827a2aa5abb0
parent48620e341659f6e4b978ec229f6944dabe6df709
net/af_iucv: remove GFP_DMA restriction for HiperTransport

af_iucv sockets over z/VM IUCV require that their skbs are allocated
in DMA memory. This restriction doesn't apply to connections over
HiperSockets. So only set this limit for z/VM IUCV sockets, thereby
increasing the likelihood that the large (and linear!) allocations for
HiperTransport messages succeed.

Fixes: 3881ac441f64 ("af_iucv: add HiperSockets transport")
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Reviewed-by: Ursula Braun <ubraun@linux.ibm.com>
Reviewed-by: Hendrik Brueckner <brueckner@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/iucv/af_iucv.c