diff options
| author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2025-08-05 20:23:01 +0300 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2025-09-14 02:55:10 +0300 |
| commit | 88df6ab2f34b60837ebdab64b2514f356d5ebb65 (patch) | |
| tree | 3800a6f650de524a0cb96df3cfc6d744ae4c4509 /scripts/patch-kernel | |
| parent | c995ac3aa3747ec2a0373e5f319a22e0cb31d613 (diff) | |
| download | linux-88df6ab2f34b60837ebdab64b2514f356d5ebb65.tar.xz | |
mm: add folio_is_pci_p2pdma()
Reimplement is_pci_p2pdma_page() in terms of folio_is_pci_p2pdma(). Moves
the page_folio() call from inside page_pgmap() to is_pci_p2pdma_page().
This removes a page_folio() call from try_grab_folio() which already has a
folio and can pass it in.
Link: https://lkml.kernel.org/r/20250805172307.1302730-12-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Shakeel Butt <shakeel.butt@linux.dev>
Cc: Zi Yan <ziy@nvidia.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
