lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 1 Feb 2021 17:18:35 -0800
From:   Jakub Kicinski <>
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 <>,,,,,
Subject: Re: [PATCH v3 net-next 0/5] net: consolidate page_is_pfmemalloc()

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 :/

Powered by blists - more mailing lists