linux_dsm_epyc7002/drivers/net/ethernet/amd/xgbe
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
..
Makefile amd-xgbe: Add I2C support for sideband communication 2016-11-13 00:56:26 -05:00
xgbe-common.h amd-xgbe: Fix the ECC-related bit position definitions 2017-03-22 19:39:58 -07:00
xgbe-dcb.c amd-xgbe: Do traffic class setup when called through dcbnl 2016-02-17 15:22:20 -05:00
xgbe-debugfs.c amd-xgbe: Fix possible uninitialized variable 2016-11-16 13:57:44 -05:00
xgbe-desc.c amd-xgbe: use PAGE_ALLOC_COSTLY_ORDER in xgbe_map_rx_buffer 2017-06-04 20:01:00 -04:00
xgbe-dev.c amd-xgbe: Fix jumbo MTU processing on newer hardware 2017-03-15 15:36:59 -07:00
xgbe-drv.c drivers: add explicit interrupt.h includes 2017-03-30 11:05:34 -07:00
xgbe-ethtool.c net: xgbe: use new api ethtool_{get|set}_link_ksettings 2016-11-09 13:25:13 -05:00
xgbe-i2c.c drivers: add explicit interrupt.h includes 2017-03-30 11:05:34 -07:00
xgbe-main.c Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2016-12-12 19:56:15 -08:00
xgbe-mdio.c drivers: add explicit interrupt.h includes 2017-03-30 11:05:34 -07:00
xgbe-pci.c pci-v4.11-changes 2017-02-23 11:53:22 -08:00
xgbe-phy-v1.c amd-xgbe: Add support for a KR redriver 2016-11-13 00:56:26 -05:00
xgbe-phy-v2.c amd-xgbe: Don't overwrite SFP PHY mod_absent settings 2017-03-02 12:57:53 -08:00
xgbe-platform.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-12-03 12:29:53 -05:00
xgbe-ptp.c clocksource: Use a plain u64 instead of cycle_t 2016-12-25 11:04:12 +01:00
xgbe.h pci-v4.11-changes 2017-02-23 11:53:22 -08:00