Revision a7c0b8bee212e22725196fda8389bff9ade3ac68 authored by Michal Hocko on 02 June 2017, 15:54:08 UTC, committed by David S. Miller on 05 June 2017, 00:01:00 UTC
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>
1 parent 5f733ee
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 36 bytes |
Makefile | -rw-r--r-- | 48 bytes |
irqbypass.c | -rw-r--r-- | 6.0 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...