On 28 Jan 2021, at 2:03, Matthew Wilcox (Oracle) wrote:
> If we know we have a folio, we can call put_folio() instead of put_page()
> and save the overhead of calling compound_head(). Also skips the
> devmap checks.
>
> Signed-off-by: Matthew Wilcox (Oracle)
> ---
> include/linux/mm.h | 15
If we know we have a folio, we can call put_folio() instead of put_page()
and save the overhead of calling compound_head(). Also skips the
devmap checks.
Signed-off-by: Matthew Wilcox (Oracle)
---
include/linux/mm.h | 15 ++-
1 file changed, 10 insertions(+), 5 deletions(-)
diff
2 matches
Mail list logo