[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170604.200119.791002119725193988.davem@davemloft.net>
Date: Sun, 04 Jun 2017 20:01:19 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: mhocko@...nel.org
Cc: thomas.lendacky@....com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, mhocko@...e.com
Subject: Re: [PATCH] amd-xgbe: use PAGE_ALLOC_COSTLY_ORDER in
xgbe_map_rx_buffer
From: Michal Hocko <mhocko@...nel.org>
Date: Fri, 2 Jun 2017 17:54:08 +0200
> From: Michal Hocko <mhocko@...e.com>
>
> 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@...e.com>
Applied.
Powered by blists - more mailing lists