* Re: [PATCH v3 net-next 0/5] net: consolidate page_is_pfmemalloc() usage
[not found] <20210131120844.7529-1-alobakin@pm.me>
@ 2021-02-02 1:18 ` Jakub Kicinski
2021-02-02 13:13 ` Alexander Lobakin
0 siblings, 1 reply; 2+ messages in thread
From: Jakub Kicinski @ 2021-02-02 1:18 UTC (permalink / raw)
To: Alexander Lobakin
Cc: David S. Miller, John Hubbard, David Rientjes, Yisen Zhuang,
Salil Mehta, Jesse Brandeburg, Tony Nguyen, Saeed Mahameed,
Leon Romanovsky, Andrew Morton, Jesper Dangaard Brouer,
Ilias Apalodimas, Jonathan Lemon, Willem de Bruijn, Randy Dunlap,
Pablo Neira Ayuso, Dexuan Cui, Jakub Sitnicki, Marco Elver,
Paolo Abeni, netdev, linux-kernel, intel-wired-lan, linux-rdma,
linux-mm
On Sun, 31 Jan 2021 12:11:16 +0000 Alexander Lobakin wrote:
> page_is_pfmemalloc() is used mostly by networking drivers to test
> if a page can be considered for reusing/recycling.
> It doesn't write anything to the struct page itself, so its sole
> argument can be constified, as well as the first argument of
> skb_propagate_pfmemalloc().
> In Page Pool core code, it can be simply inlined instead.
> Most of the callers from NIC drivers were just doppelgangers of
> the same condition tests. Derive them into a new common function
> do deduplicate the code.
Please resend, this did not get into patchwork :/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH v3 net-next 0/5] net: consolidate page_is_pfmemalloc() usage
2021-02-02 1:18 ` [PATCH v3 net-next 0/5] net: consolidate page_is_pfmemalloc() usage Jakub Kicinski
@ 2021-02-02 13:13 ` Alexander Lobakin
0 siblings, 0 replies; 2+ messages in thread
From: Alexander Lobakin @ 2021-02-02 13:13 UTC (permalink / raw)
To: Jakub Kicinski
Cc: Alexander Lobakin, David S. Miller, John Hubbard, David Rientjes,
Yisen Zhuang, Salil Mehta, Jesse Brandeburg, Tony Nguyen,
Saeed Mahameed, Leon Romanovsky, Andrew Morton,
Jesper Dangaard Brouer, Ilias Apalodimas, Jonathan Lemon,
Willem de Bruijn, Randy Dunlap, Pablo Neira Ayuso, Dexuan Cui,
Jakub Sitnicki, Marco Elver, Paolo Abeni, netdev, linux-kernel,
intel-wired-lan, linux-rdma, linux-mm
From: Jakub Kicinski <kuba@kernel.org>
Date: Mon, 1 Feb 2021 17:18:35 -0800
> On Sun, 31 Jan 2021 12:11:16 +0000 Alexander Lobakin wrote:
> > page_is_pfmemalloc() is used mostly by networking drivers to test
> > if a page can be considered for reusing/recycling.
> > It doesn't write anything to the struct page itself, so its sole
> > argument can be constified, as well as the first argument of
> > skb_propagate_pfmemalloc().
> > In Page Pool core code, it can be simply inlined instead.
> > Most of the callers from NIC drivers were just doppelgangers of
> > the same condition tests. Derive them into a new common function
> > do deduplicate the code.
>
> Please resend, this did not get into patchwork :/
I suspected it would be so as I got reports about undelivered mails
due to unavailability of vger.kernel.org for some reasons Will do.
Al
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-02-02 13:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20210131120844.7529-1-alobakin@pm.me>
2021-02-02 1:18 ` [PATCH v3 net-next 0/5] net: consolidate page_is_pfmemalloc() usage Jakub Kicinski
2021-02-02 13:13 ` Alexander Lobakin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox