Re: [PATCH net-next 0/3] net: constify page_is_pfmemalloc() and its users

2021-01-27 Thread Alexander Lobakin
From: Alexander Lobakin Date: Mon, 25 Jan 2021 16:46:48 + > page_is_pfmemalloc() is used mostly by networking drivers. It doesn't > write anything to the struct page itself, so constify its argument and > a bunch of callers and wrappers around this function in drivers. > In Page Pool core

[PATCH net-next 0/3] net: constify page_is_pfmemalloc() and its users

2021-01-25 Thread Alexander Lobakin
page_is_pfmemalloc() is used mostly by networking drivers. It doesn't write anything to the struct page itself, so constify its argument and a bunch of callers and wrappers around this function in drivers. In Page Pool core code, it can be simply inlined instead. Alexander Lobakin (3): mm: