aboutsummaryrefslogtreecommitdiffstats
path: root/mm/filemap.c
AgeCommit message (Expand)AuthorFilesLines
2022-12-11filemap: convert replace_page_cache_page() to replace_page_cache_folio()Vishal Moola (Oracle)1-27/+25
2022-12-11filemap: skip write and wait if end offset precedes startBrian Foster1-3/+6
2022-11-08filemap: find_get_entries() now updates start offsetVishal Moola (Oracle)1-2/+11
2022-11-08filemap: find_lock_entries() now updates start offsetVishal Moola (Oracle)1-3/+12
2022-10-10Merge tag 'mm-stable-2022-10-08' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-58/+66
2022-10-03mm: fs: initialize fsdata passed to write_begin/write_end interfaceAlexander Potapenko1-1/+1
2022-10-03mm/filemap: make folio_put_wait_locked staticKe Sun1-1/+1
2022-10-03filemap: convert filemap_range_has_writeback() to use foliosVishal Moola (Oracle)1-6/+7
2022-09-26delayacct: support re-entrance detection of thrashing accountingYang Yang1-4/+6
2022-09-26filemap: make the accounting of thrashing more consistentYang Yang1-14/+4
2022-09-20mm: add PSI accounting around ->read_folio and ->readahead callsChristoph Hellwig1-0/+7
2022-09-11filemap: remove find_get_pages_contig()Vishal Moola (Oracle)1-60/+0
2022-09-11filemap: add filemap_get_folios_contig()Vishal Moola (Oracle)1-0/+73
2022-09-11mm/filemap.c: convert page_endio() to use a folioShaoqin Huang1-7/+9
2022-08-05Merge tag 'mm-stable-2022-08-03' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-12/+6
2022-08-03Merge tag 'folio-6.0' of git://git.infradead.org/users/willy/pagecacheLinus Torvalds1-89/+50
2022-07-29filemap: minor cleanup for filemap_write_and_wait_rangeMiaohe Lin1-12/+6
2022-07-24mm: honor FGP_NOWAIT for page cache page allocationJens Axboe1-0/+4
2022-06-29filemap: Use filemap_read_folio() in do_read_cache_folio()Matthew Wilcox (Oracle)1-20/+9
2022-06-29filemap: Handle AOP_TRUNCATED_PAGE in do_read_cache_folio()Matthew Wilcox (Oracle)1-1/+3
2022-06-29filemap: Move 'filler' case to the end of do_read_cache_folio()Matthew Wilcox (Oracle)1-15/+13
2022-06-29filemap: Remove find_get_pages_range() and associated functionsMatthew Wilcox (Oracle)1-67/+0
2022-06-29filemap: Add filemap_get_folios()Matthew Wilcox (Oracle)1-0/+59
2022-06-29filemap: Remove add_to_page_cache() and add_to_page_cache_locked()Matthew Wilcox (Oracle)1-20/+0
2022-06-20filemap: Handle sibling entries in filemap_get_read_batch()Matthew Wilcox (Oracle)1-0/+2
2022-06-20filemap: Correct the conditions for marking a folio as accessedMatthew Wilcox (Oracle)1-3/+10
2022-06-09filemap: Cache the value of vm_flagsMatthew Wilcox (Oracle)1-4/+5
2022-05-26Merge tag 'mm-stable-2022-05-25' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-0/+5
2022-05-13mm: teach core mm about pte markersPeter Xu1-0/+5
2022-05-09fs: Remove aops->freepageMatthew Wilcox (Oracle)1-7/+0
2022-05-09fs: Add free_folio address space operationMatthew Wilcox (Oracle)1-1/+8
2022-05-09fs: Change try_to_free_buffers() to take a folioMatthew Wilcox (Oracle)1-1/+1
2022-05-09fs: Remove last vestiges of releasepageMatthew Wilcox (Oracle)1-2/+0
2022-05-09fs: Add aops->release_folioMatthew Wilcox (Oracle)1-0/+2
2022-05-09mm/filemap: Hoist filler_t decision to the top of do_read_cache_folio()Matthew Wilcox (Oracle)1-5/+4
2022-05-09fs: Change the type of filler_tMatthew Wilcox (Oracle)1-20/+20
2022-05-09mm,fs: Remove aops->readpageMatthew Wilcox (Oracle)1-10/+5
2022-05-09fs: Introduce aops->read_folioMatthew Wilcox (Oracle)1-2/+7
2022-05-08fs: Remove pagecache_write_begin() and pagecache_write_end()Matthew Wilcox (Oracle)1-20/+0
2022-05-08fs: Remove flags parameter from aops->write_beginMatthew Wilcox (Oracle)1-4/+2
2022-04-15tmpfs: fix regressions from wider use of ZERO_PAGEHugh Dickins1-6/+0
2022-04-01fs: Pass an iocb to generic_perform_write()Matthew Wilcox (Oracle)1-4/+6
2022-04-01fs: Remove ->readpages address space operationMatthew Wilcox (Oracle)1-1/+1
2022-03-26Merge tag 'write-page-prefaulting' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-1/+1
2022-03-25fs/iomap: Fix buffered write page prefaultingAndreas Gruenbacher1-1/+1
2022-03-24mm: warn on deleting redirtied only if accountedHugh Dickins1-5/+9
2022-03-24mm: filemap_unaccount_folio() large skip mapcount fixupHugh Dickins1-13/+13
2022-03-24mm: delete __ClearPageWaiters()Hugh Dickins1-15/+8
2022-03-22Merge tag 'folio-5.18b' of git://git.infradead.org/users/willy/pagecacheLinus Torvalds1-4/+4
2022-03-22Merge tag 'folio-5.18c' of git://git.infradead.org/users/willy/pagecacheLinus Torvalds1-18/+41
2022-03-22tmpfs: do not allocate pages on readHugh Dickins1-0/+6
2022-03-22filemap: remove find_get_pages()Miaohe Lin1-5/+6
2022-03-21mm/filemap: Support VM_HUGEPAGE for file mappingsMatthew Wilcox (Oracle)1-0/+18
2022-03-21mm/readahead: Switch to page_cache_ra_orderMatthew Wilcox (Oracle)1-1/+1
2022-03-21mm/filemap: Allow large folios to be added to the page cacheMatthew Wilcox (Oracle)1-17/+22
2022-03-16fs: Convert __set_page_dirty_buffers to block_dirty_folioMatthew Wilcox (Oracle)1-2/+2
2022-03-14fs: Convert is_partially_uptodate to foliosMatthew Wilcox (Oracle)1-2/+2
2022-01-22Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-11/+91
2022-01-22mm: remove cleancacheChristoph Hellwig1-11/+0
2022-01-22mm/migrate.c: rework migration_entry_wait() to not take a pagerefAlistair Popple1-0/+91
2022-01-16filemap: Use folio_put_refs() in filemap_free_folio()Matthew Wilcox (Oracle)1-6/+4
2022-01-12Merge tag 'folio-5.17' of git://git.infradead.org/users/willy/pagecacheLinus Torvalds1-523/+481
2022-01-12Merge tag 'for-5.17/block-2022-01-11' of git://git.kernel.dk/linux-blockLinus Torvalds1-29/+3
2022-01-08mm: Use multi-index entries in the page cacheMatthew Wilcox (Oracle)1-22/+39
2022-01-08mm: Convert find_lock_entries() to use a folio_batchMatthew Wilcox (Oracle)1-31/+29
2022-01-08filemap: Return only folios from find_get_entries()Matthew Wilcox (Oracle)1-32/+11
2022-01-08filemap: Convert filemap_get_read_batch() to use a folio_batchMatthew Wilcox (Oracle)1-32/+33
2022-01-08filemap: Convert filemap_read() to use a folioMatthew Wilcox (Oracle)1-16/+12
2022-01-08truncate: Add invalidate_complete_folio2()Matthew Wilcox (Oracle)1-2/+1
2022-01-04filemap: Add filemap_release_folio()Matthew Wilcox (Oracle)1-20/+19
2022-01-04filemap: Use a folio in filemap_page_mkwriteMatthew Wilcox (Oracle)1-8/+8
2022-01-04filemap: Use a folio in filemap_map_pagesMatthew Wilcox (Oracle)1-13/+14
2022-01-04filemap: Use folios in next_uptodate_pageMatthew Wilcox (Oracle)1-15/+15
2022-01-04filemap: Convert page_cache_delete_batch to foliosMatthew Wilcox (Oracle)1-10/+10
2022-01-04filemap: Convert filemap_get_pages to use foliosMatthew Wilcox (Oracle)1-12/+12
2022-01-04filemap: Drop the refcount while waiting for page lockMatthew Wilcox (Oracle)1-38/+5
2022-01-04filemap: Add read_cache_folio and read_mapping_folioMatthew Wilcox (Oracle)1-46/+51
2022-01-04filemap: Convert filemap_fault to folioMatthew Wilcox (Oracle)1-40/+37
2022-01-04filemap: Convert do_async_mmap_readahead to take a folioMatthew Wilcox (Oracle)1-7/+8
2022-01-04filemap: Convert filemap_range_uptodate to foliosMatthew Wilcox (Oracle)1-8/+8
2022-01-04filemap: Convert filemap_create_page to folioMatthew Wilcox (Oracle)1-19/+20
2022-01-04filemap: Convert filemap_read_page to take a folioMatthew Wilcox (Oracle)1-9/+9
2022-01-04filemap: Convert find_get_pages_contig to foliosMatthew Wilcox (Oracle)1-9/+8
2022-01-04filemap: Convert filemap_get_read_batch to use foliosMatthew Wilcox (Oracle)1-12/+11
2022-01-04filemap: Convert find_get_entry to return a folioMatthew Wilcox (Oracle)1-74/+72
2022-01-04filemap: Add filemap_remove_folio and __filemap_remove_folioMatthew Wilcox (Oracle)1-23/+20
2022-01-04filemap: Convert tracing of page cache operations to folioMatthew Wilcox (Oracle)1-4/+5
2022-01-04filemap: Add filemap_unaccount_folio()Matthew Wilcox (Oracle)1-35/+35
2022-01-04filemap: Convert page_cache_delete to take a folioMatthew Wilcox (Oracle)1-11/+11
2022-01-04filemap: Add folio_put_wait_locked()Matthew Wilcox (Oracle)1-12/+15
2022-01-02filemap: Remove PageHWPoison check from next_uptodate_page()Matthew Wilcox (Oracle)1-2/+0
2021-12-10filemap: remove PageHWPoison check from next_uptodate_page()Matthew Wilcox (Oracle)1-2/+0
2021-12-03mm: move filemap_range_needs_writeback() into headerJens Axboe1-29/+3
2021-11-09Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-0/+8
2021-11-09vfs: keep inodes with page cache off the inode shrinker LRUJohannes Weiner1-0/+8
2021-11-06Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-38/+40
2021-11-06mm/vmscan: throttle reclaim until some writeback completes if congestedMel Gorman1-0/+1
2021-11-06mm: filemap: coding style cleanup for filemap_map_pmd()Yang Shi1-6/+6
2021-11-06mm: introduce pmd_install() helperQi Zheng1-9/+2
2021-11-06mm: move more expensive part of XA setup out of mapping checkJens Axboe1-18/+25
2021-11-06mm/filemap.c: remove bogus VM_BUG_ONMatthew Wilcox (Oracle)1-1/+0
2021-11-06mm: don't read i_size of inode unless we need itJens Axboe1-4/+3
2021-11-06mm: stop filemap_read() from grabbing a superfluous pageDavid Howells1-0/+3
2021-11-02Merge tag 'gfs2-v5.15-rc5-mmap-fault' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-2/+2
2021-11-01Merge tag 'for-5.16/block-2021-10-29' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+0
2021-10-18iov_iter: Turn iov_iter_fault_in_readable into fault_in_iov_iter_readableAndreas Gruenbacher1-1/+1
2021-10-18gup: Turn fault_in_pages_{readable,writeable} into fault_in_{readable,writeable}Andreas Gruenbacher1-1/+1
2021-10-18mm: remove spurious blkdev.h includesChristoph Hellwig1-1/+0
2021-10-18mm/filemap: Add FGP_STABLEMatthew Wilcox (Oracle)1-22/+3
2021-10-18mm/filemap: Add filemap_get_folioMatthew Wilcox (Oracle)1-48/+44
2021-10-18mm/filemap: Convert mapping_get_entry to return a folioMatthew Wilcox (Oracle)1-21/+14
2021-10-18mm/filemap: Add filemap_add_folio()Matthew Wilcox (Oracle)1-36/+34
2021-10-18mm/filemap: Add filemap_alloc_folioMatthew Wilcox (Oracle)1-7/+7
2021-10-18mm/workingset: Convert workingset_refault() to take a folioMatthew Wilcox (Oracle)1-1/+1
2021-10-18mm/writeback: Add __folio_end_writeback()Matthew Wilcox (Oracle)1-1/+1
2021-09-27mm/memcg: Convert mem_cgroup_migrate() to take foliosMatthew Wilcox (Oracle)1-1/+3
2021-09-27mm/memcg: Convert mem_cgroup_uncharge() to take a folioMatthew Wilcox (Oracle)1-1/+1
2021-09-27mm/memcg: Convert mem_cgroup_charge() to take a folioMatthew Wilcox (Oracle)1-1/+1
2021-09-27mm/filemap: Add folio private_2 functionsMatthew Wilcox (Oracle)1-23/+18
2021-09-27mm/filemap: Convert page wait queues to be foliosMatthew Wilcox (Oracle)1-19/+19
2021-09-27mm/filemap: Add folio_wake_bit()Matthew Wilcox (Oracle)1-11/+12
2021-09-27mm/filemap: Add folio_wait_bit()Matthew Wilcox (Oracle)1-41/+36
2021-09-27mm/filemap: Add folio_end_writeback()Matthew Wilcox (Oracle)1-22/+21
2021-09-27mm/swap: Add folio_rotate_reclaimable()Matthew Wilcox (Oracle)1-1/+2
2021-09-27mm/filemap: Add __folio_lock_or_retry()Matthew Wilcox (Oracle)1-12/+10
2021-09-27mm/filemap: Add folio_wait_locked()Matthew Wilcox (Oracle)1-2/+2
2021-09-27mm/filemap: Add __folio_lock_async()Matthew Wilcox (Oracle)1-13/+14
2021-09-27mm/filemap: Add folio_lock_killable()Matthew Wilcox (Oracle)1-8/+9
2021-09-27mm/filemap: Add folio_lock()Matthew Wilcox (Oracle)1-14/+15
2021-09-27mm/filemap: Add folio_unlock()Matthew Wilcox (Oracle)1-17/+12
2021-09-27mm: Add folio_try_get_rcu()Matthew Wilcox (Oracle)1-0/+20
2021-09-03Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-9/+6
2021-09-03mm: remove irqsave/restore locking from contexts with irqs enabledJohannes Weiner1-9/+6
2021-08-31Merge tag 'for-5.15-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kda...Linus Torvalds1-9/+27
2021-08-23fs: add a filemap_fdatawrite_wbc helperJosef Bacik1-9/+27
2021-07-13mm: Add functions to lock invalidate_lock for two mappingsJan Kara1-0/+38
2021-07-13mm: Protect operations adding pages to page cache with invalidate_lockJan Kara1-18/+79
2021-07-12mm: Fix comments mentioning i_mutexJan Kara1-5/+5
2021-07-03Merge branch 'work.iov_iter' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-21/+15
2021-06-29mm: charge active memcg when no mm is setDan Schatzberg1-1/+1
2021-06-10iov_iter: replace iov_iter_copy_from_user_atomic() with iterator-advancing va...Al Viro1-8/+8
2021-06-02generic_perform_write()/iomap_write_actor(): saner logics for short copyAl Viro1-15/+9
2021-05-07mm: fix typos in commentsIngo Molnar1-1/+1
2021-05-05mm/mempool: minor coding style tweaksZhiyuan Dai1-4/+4
2021-05-05dax: account DAX entries as nrpagesMatthew Wilcox (Oracle)1-3/+0
2021-05-05mm: stop accounting shadow entriesMatthew Wilcox (Oracle)1-13/+0
2021-04-30mm/filemap: update stale commentRui Sun1-1/+1
2021-04-30mm/filemap: drop check for truncated page after I/OMatthew Wilcox (Oracle)1-2/+0
2021-04-30mm/filemap: use filemap_read_page in filemap_faultMatthew Wilcox (Oracle)1-9/+1
2021-04-30mm: use filemap_range_needs_writeback() for O_DIRECT readsJens Axboe1-2/+2
2021-04-30mm: provide filemap_range_needs_writeback() helperJens Axboe1-0/+43
2021-04-27Merge tag 'netfs-lib-20210426' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-2/+63
2021-04-23mm/filemap: fix mapping_seek_hole_data on THP & 32-bitHugh Dickins1-10/+11
2021-04-23mm/filemap: fix find_lock_entries hang on 32-bit THPHugh Dickins1-2/+8
2021-04-23mm/filemap: Pass the file_ra_state in the ractlMatthew Wilcox (Oracle)1-2/+2
2021-04-23mm: Add set/end/wait functions for PG_private_2David Howells1-0/+61
2021-02-26mm: pass pvec directly to find_get_entriesMatthew Wilcox (Oracle)1-12/+9
2021-02-26mm: add an 'end' parameter to find_get_entriesMatthew Wilcox (Oracle)1-4/+5
2021-02-26mm: add and use find_lock_entriesMatthew Wilcox (Oracle)1-0/+59
2021-02-26iomap: use mapping_seek_hole_dataMatthew Wilcox (Oracle)1-5/+32
2021-02-26mm/filemap: add mapping_seek_hole_dataMatthew Wilcox (Oracle)1-0/+76
2021-02-26mm/filemap: add helper for finding pagesMatthew Wilcox (Oracle)1-55/+42
2021-02-26mm/filemap: rename find_get_entry to mapping_get_entryMatthew Wilcox (Oracle)1-3/+4
2021-02-26mm: add FGP_ENTRYMatthew Wilcox (Oracle)1-36/+8
2021-02-26mm: make pagecache tagged lookups return only head pagesMatthew Wilcox (Oracle)1-5/+6
2021-02-24mm: memcontrol: convert NR_SHMEM_THPS account to pagesMuchun Song1-1/+1
2021-02-24mm: memcontrol: convert NR_FILE_THPS account to pagesMuchun Song1-1/+1
2021-02-24mm/filemap: simplify generic_file_read_iterChristoph Hellwig1-6/+4
2021-02-24mm/filemap: rename generic_file_buffered_read to filemap_readChristoph Hellwig1-19/+16
2021-02-24mm/filemap: don't relock the page after calling readpageMatthew Wilcox (Oracle)1-14/+7
2021-02-24mm/filemap: restructure filemap_get_pagesMatthew Wilcox (Oracle)1-43/+28
2021-02-24mm/filemap: split filemap_readahead out of filemap_get_pagesMatthew Wilcox (Oracle)1-5/+14
2021-02-24mm/filemap: add filemap_range_uptodateMatthew Wilcox (Oracle)1-26/+39
2021-02-24mm/filemap: move the iocb checks into filemap_update_pageMatthew Wilcox (Oracle)1-14/+10
2021-02-24mm/filemap: convert filemap_update_page to return an errnoMatthew Wilcox (Oracle)1-21/+17
2021-02-24mm/filemap: change filemap_create_page calling conventionsMatthew Wilcox (Oracle)1-26/+27
2021-02-24mm/filemap: change filemap_read_page calling conventionsMatthew Wilcox (Oracle)1-47/+42
2021-02-24mm/filemap: don't call ->readpage if IOCB_WAITQ is setMatthew Wilcox (Oracle)1-12/+2
2021-02-24mm/filemap: inline __wait_on_page_locked_async into callerMatthew Wilcox (Oracle)1-31/+22
2021-02-24mm/filemap: support readpage splitting a pageMatthew Wilcox (Oracle)1-53/+23
2021-02-24mm/filemap: pass a sleep state to put_and_wait_on_page_lockedMatthew Wilcox (Oracle)1-2/+5
2021-02-24mm/filemap: use head pages in generic_file_buffered_readMatthew Wilcox (Oracle)1-37/+85
2021-02-24mm/filemap: convert filemap_get_pages to take a pagevecMatthew Wilcox (Oracle)1-44/+38
2021-02-24mm/filemap: remove dynamically allocated array from filemap_readMatthew Wilcox (Oracle)1-13/+2
2021-02-24mm/filemap: rename generic_file_buffered_read subfunctionsMatthew Wilcox (Oracle)1-29/+15
2021-02-24mm/filemap: don't revert iter on -EIOCBQUEUEDPavel Begunkov1-2/+4
2021-02-24mm/filemap: remove unused parameter and change to void type for replace_page_...Baolin Wang1-6/+1
2021-02-21Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/a...Linus Torvalds1-44/+135
2021-02-10mm: filemap: Fix microblaze build failure with 'mmu_defconfig'Will Deacon1-0/+1
2021-02-05mm/filemap: add missing mem_cgroup_uncharge() to __add_to_page_cache_locked()Waiman Long1-0/+4
2021-01-21mm: Pass 'address' to map to do_set_pte() and drop FAULT_FLAG_PREFAULTWill Deacon1-14/+7
2021-01-20mm: Allow architectures to request 'old' entries when prefaultingWill Deacon1-4/+10
2021-01-20mm: Cleanup faultaround and finish_fault() codepathsKirill A. Shutemov1-43/+134
2020-12-18mm/filemap: fix infinite loop in generic_file_buffered_read()Kent Overstreet1-0/+3
2020-12-16Merge tag 'for-5.11/block-2020-12-14' of git://git.kernel.dk/linux-blockLinus Torvalds1-7/+6
2020-12-15mm: fix some spelling mistakes in commentsHaitao Shi1-1/+1
2020-12-15mm/lru: revise the comments of lru_lockHugh Dickins1-2/+2
2020-12-15mm: memcontrol: add file_thp, shmem_thp to memory.statJohannes Weiner1-2/+2
2020-12-15mm/filemap.c: remove else after a returnHailong Liu1-11/+12
2020-12-15mm/filemap.c: generic_file_buffered_read() now uses find_get_pages_contigKent Overstreet1-138/+175