diff options
| author | Matthew Wilcox (Oracle) <[email protected]> | 2020-12-08 08:56:28 -0500 |
|---|---|---|
| committer | Matthew Wilcox (Oracle) <[email protected]> | 2021-10-18 07:49:40 -0400 |
| commit | 9dd3d069406cea073fc633e77bc59abbfde8c6c4 (patch) | |
| tree | 5c384bbda7aa6165f7dbf2be9a5f95c4e29319f7 /tools/perf/scripts/python/stackcollapse.py | |
| parent | bb3c579e25e5757bc5bac1333f4a56dfebf7cb91 (diff) | |
mm/filemap: Add filemap_add_folio()
Convert __add_to_page_cache_locked() into __filemap_add_folio().
Add an assertion to it that (for !hugetlbfs), the folio is naturally
aligned within the file. Move the prototype from mm.h to pagemap.h.
Convert add_to_page_cache_lru() into filemap_add_folio(). Add a
compatibility wrapper for unconverted callers.
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: David Howells <[email protected]>
Acked-by: Vlastimil Babka <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions