linux/drivers/net/ethernet/amd
Michal Hocko a7c0b8bee2 amd-xgbe: use PAGE_ALLOC_COSTLY_ORDER in xgbe_map_rx_buffer
xgbe_map_rx_buffer is rather confused about what PAGE_ALLOC_COSTLY_ORDER
means. It uses PAGE_ALLOC_COSTLY_ORDER-1 assuming that
PAGE_ALLOC_COSTLY_ORDER is the first costly order which is not the case
actually because orders larger than that are costly. And even that
applies only to sleeping allocations which is not the case here. We
simply do not perform any costly operations like reclaim or compaction
for those. Simplify the code by dropping the order calculation and use
PAGE_ALLOC_COSTLY_ORDER directly.

Signed-off-by: Michal Hocko <mhocko@suse.com>
Acked-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-06-04 20:01:00 -04:00
..
xgbe amd-xgbe: use PAGE_ALLOC_COSTLY_ORDER in xgbe_map_rx_buffer 2017-06-04 20:01:00 -04:00
7990.c
7990.h
a2065.c
a2065.h
am79c961a.c
am79c961a.h
amd8111e.c amd8111e: add GRO support 2017-02-05 16:11:57 -05:00
amd8111e.h scripts/spelling.txt: add regsiter -> register spelling mistake 2017-05-08 17:15:13 -07:00
ariadne.c
ariadne.h
atarilance.c format-security: move static strings to const 2017-05-08 17:15:14 -07:00
au1000_eth.c
au1000_eth.h
declance.c format-security: move static strings to const 2017-05-08 17:15:14 -07:00
hplance.c
hplance.h
Kconfig
lance.c Annotate hardware config module parameters in drivers/net/ethernet/ 2017-04-20 12:02:32 +01:00
Makefile
mvme147.c
ni65.c Annotate hardware config module parameters in drivers/net/ethernet/ 2017-04-20 12:02:32 +01:00
ni65.h
nmclan_cs.c net: nmlan_cs: Use net_device_stats from struct net_device 2017-04-07 07:03:33 -07:00
pcnet32.c pcnet32: fix BNC/AUI port on AM79C970A 2017-02-14 14:26:58 -05:00
sun3lance.c format-security: move static strings to const 2017-05-08 17:15:14 -07:00
sunlance.c