aboutsummaryrefslogtreecommitdiffstats
path: root/mm/filemap.c
AgeCommit message (Expand)AuthorFilesLines
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
2020-12-15mm/filemap/c: break generic_file_buffered_read up into multiple functionsKent Overstreet1-222/+261
2020-12-11revert "mm/filemap: add static for function __add_to_page_cache_locked"Andrew Morton1-1/+1
2020-12-06mm/filemap: add static for function __add_to_page_cache_lockedAlex Shi1-1/+1
2020-12-01filemap: consistently use ->f_mapping over ->i_mappingChristoph Hellwig1-7/+6
2020-11-24mm: fix VM_BUG_ON(PageTail) and BUG_ON(PageWriteback)Hugh Dickins1-0/+8
2020-11-16mm: never attempt async page lock if we've transferred data alreadyJens Axboe1-4/+14
2020-10-23Merge tag 'vfs-5.10-merge-1' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linuxLinus Torvalds1-222/+0
2020-10-17mm: mark async iocb read as NOWAIT once some data has been copiedJens Axboe1-0/+8
2020-10-16Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-19/+39
2020-10-16mm: fix some broken commentsMiaohe Lin1-2/+2
2020-10-16mm/filemap: fold ra_submit into do_sync_mmap_readaheadDavid Howells1-5/+5
2020-10-16mm/filemap: fix page cache removal for arbitrary sized THPsMatthew Wilcox (Oracle)1-1/+1
2020-10-16mm/filemap: fix storing to a THP shadow entryMatthew Wilcox (Oracle)1-11/+31
2020-10-15Merge tag 'net-next-5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds1-4/+4
2020-10-15vfs: move the generic write and copy checks out of mmDarrick J. Wong1-143/+0
2020-10-14vfs: move generic_remap_checks out of mmDarrick J. Wong1-80/+1
2020-10-13mm/filemap: fix filemap_map_pages for THPMatthew Wilcox (Oracle)1-15/+15
2020-10-13mm: add find_lock_headMatthew Wilcox (Oracle)1-3/+6
2020-10-13mm/shmem: return head page from find_lock_entryMatthew Wilcox (Oracle)1-14/+11
2020-10-13mm: convert find_get_entry to return the head pageMatthew Wilcox (Oracle)1-6/+7
2020-10-13i915: use find_lock_page instead of find_lock_entryMatthew Wilcox (Oracle)1-1/+0
2020-10-13Merge tag 'block-5.10-2020-10-12' of git://git.kernel.dk/linux-blockLinus Torvalds1-2/+2
2020-10-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-1/+5
2020-10-02Merge tag 'io_uring-5.9-2020-10-02' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+5
2020-09-29io_uring: fix async buffered reads when readahead is disabledHao Xu1-1/+5
2020-09-24bdi: replace BDI_CAP_NO_{WRITEBACK,ACCT_DIRTY} with a single flagChristoph Hellwig1-2/+2
2020-09-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-31/+129
2020-09-20mm: fix wake_page_function() comment typosLinus Torvalds1-2/+2
2020-09-17mm: allow a controlled amount of unfairness in the page lockLinus Torvalds1-31/+129
2020-08-28mm/error_inject: Fix allow_error_inject function signatures.Alexei Starovoitov1-4/+4
2020-08-14mm/filemap.c: fix a data race in filemap_fault()Kirill A. Shutemov1-7/+13
2020-08-14mm: replace hpage_nr_pages with thp_nr_pagesMatthew Wilcox (Oracle)1-1/+1
2020-08-12mm/filemap.c: delete duplicated wordRandy Dunlap1-1/+1
2020-08-07mm: filemap: add missing FGP_ flags in kerneldoc comment for pagecache_get_pageYang Shi1-0/+3
2020-08-07mm: filemap: clear idle flag for writesYang Shi1-0/+6
2020-08-03Merge tag 'for-5.9/io_uring-20200802' of git://git.kernel.dk/linux-blockLinus Torvalds1-27/+64
2020-08-02list: add "list_del_init_careful()" to go with "list_empty_careful()"Linus Torvalds1-6/+1
2020-08-02mm: rewrite wait_on_page_bit_common() logicLinus Torvalds1-47/+85
2020-07-07fs: Add IOCB_NOIO flag for generic_file_read_iterAndreas Gruenbacher1-2/+21
2020-06-21mm: support async buffered reads in generic_file_buffered_read()Jens Axboe1-11/+27
2020-06-21mm: add support for async page lockingJens Axboe1-1/+44
2020-06-21mm: abstract out wake_page_match() from wake_page_function()Jens Axboe1-31/+4
2020-06-21mm: allow read-ahead with IOCB_NOWAIT setJens Axboe1-2/+0
2020-06-09mmap locking API: convert mmap_sem commentsMichel Lespinasse1-19/+19
2020-06-09mmap locking API: convert mmap_sem API commentsMichel Lespinasse1-1/+1
2020-06-09mmap locking API: use coccinelle to convert mmap_sem rwsem call sitesMichel Lespinasse1-3/+3
2020-06-04mm/filemap: fix a typo in comment "unneccssary"->"unnecessary"Ethon Paul1-1/+1
2020-06-03mm: memcontrol: delete unused lrucare handlingJohannes Weiner1-1/+1
2020-06-03mm: memcontrol: convert anon and file-thp to new mem_cgroup_charge() APIJohannes Weiner1-1/+1
2020-06-03mm: memcontrol: switch to native NR_FILE_PAGES and NR_SHMEM countersJohannes Weiner1-8/+9
2020-06-03mm: memcontrol: convert page cache to a new mem_cgroup_charge() APIJohannes Weiner1-14/+10
2020-06-03mm: memcontrol: drop @compound parameter from memcg charging APIJohannes Weiner1-3/+3
2020-06-03mm: fix NUMA node file count error in replace_page_cache()Johannes Weiner1-2/+2
2020-06-02Merge tag 'for-5.8-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdav...Linus Torvalds1-1/+2
2020-06-02mm/filemap.c: remove misleading commentMatthew Wilcox (Oracle)1-1/+0
2020-05-25fs: export generic_file_buffered_read()Goldwyn Rodrigues1-1/+2
2020-04-07mm: huge tmpfs: try to split_huge_page() when punching holeHugh Dickins1-1/+13
2020-04-02mm: allow VM_FAULT_RETRY for multiple timesPeter Xu1-1/+1
2020-04-02mm/filemap.c: rewrite pagecache_get_page documentationMatthew Wilcox (Oracle)1-26/+23
2020-04-02mm/filemap.c: unexport find_get_entryMatthew Wilcox (Oracle)1-1/+0
2020-04-02mm/filemap.c: use vm_fault error code directlyMatthew Wilcox (Oracle)1-1/+1
2020-04-02mm/filemap.c: remove unused argument from shrink_readahead_size_eio()Souptick Joarder1-4/+3
2020-04-02mm/filemap.c: clear page error before actual readXianting Tian1-0/+8
2020-04-02mm/filemap.c: don't bother dropping mmap_sem for zero size readaheadJan Kara1-1/+1
2020-01-31mm/filemap.c: clean up filemap_write_and_wait()Ira Weiny1-28/+6
2019-12-01mm: drop mmap_sem before calling balance_dirty_pages() in write faultJohannes Weiner1-21/+0
2019-12-01mm/filemap.c: warn if stale pagecache is left after direct writeKonstantin Khlebnikov1-3/+5
2019-12-01fs/direct-io.c: keep dio_warn_stale_pagecache() when CONFIG_BLOCK=nKonstantin Khlebnikov1-0/+21
2019-12-01mm/filemap.c: remove redundant cache invalidation after async direct-io writeKonstantin Khlebnikov1-2/+4
2019-10-19mm/filemap.c: include <linux/ramfs.h> for generic_file_vm_ops definitionBen Dooks1-0/+1
2019-09-24mm,thp: avoid writes to file with THP in pagecacheSong Liu1-0/+1
2019-09-24mm,thp: add read-only THP support for (non-shmem) FSSong Liu1-2/+2
2019-09-24filemap: update offset check in filemap_fault()Song Liu1-1/+1
2019-09-24filemap: check compound_head(page)->mapping in pagecache_get_page()Song Liu1-1/+1
2019-09-24filemap: check compound_head(page)->mapping in filemap_fault()Song Liu1-1/+1
2019-09-24mm: page cache: store only head pages in i_pagesMatthew Wilcox (Oracle)1-88/+57
2019-09-24mm/filemap.c: rewrite mapping_needs_writeback in less fancy mannerKonstantin Khlebnikov1-2/+5
2019-09-24mm/filemap.c: don't initiate writeback if mapping has no dirty pagesKonstantin Khlebnikov1-1/+2
2019-09-24mm: introduce compound_nr()Matthew Wilcox (Oracle)1-1/+1
2019-08-20vfs: don't allow writes to swap filesDarrick J. Wong1-0/+3
2019-07-12mm/filemap.c: correct the comment about VM_FAULT_RETRYYang Shi1-4/+2
2019-07-12mm/filemap: don't cast ->readpage to filler_t for do_read_cache_pageChristoph Hellwig1-4/+6
2019-07-12mm/filemap.c: fix an overly long line in read_cache_pageChristoph Hellwig1-1/+2
2019-07-10Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-0/+22
2019-07-10Merge tag 'copy-file-range-fixes-1' of git://git.kernel.org/pub/scm/fs/xfs/xf...Linus Torvalds1-21/+89
2019-07-05Revert "mm: page cache: store only head pages in i_pages"Linus Torvalds1-58/+88
2019-06-20mm: add filemap_fdatawait_range_keep_errors()Ross Zwisler1-0/+22
2019-06-09vfs: add missing checks to copy_file_rangeAmir Goldstein1-0/+53
2019-06-09vfs: remove redundant checks from generic_remap_checks()Amir Goldstein1-21/+12
2019-06-09vfs: introduce generic_file_rw_checks()Amir Goldstein1-0/+24
2019-05-21treewide: Add SPDX license identifier for missed filesThomas Gleixner1-0/+1
2019-05-14mm: delete find_get_entries_tagMatthew Wilcox (Oracle)1-61/+0
2019-05-14mm/filemap.c: fix minor typoLaurent Dufour1-1/+1
2019-05-14mm/filemap.c: enable error injection at add_to_page_cache()Josef Bacik1-0/+2
2019-05-14mm: page cache: store only head pages in i_pagesMatthew Wilcox1-97/+62
2019-03-15filemap: add a comment about FAULT_FLAG_RETRY_NOWAIT behaviorLinus Torvalds1-0/+5
2019-03-15filemap: drop the mmap_sem for all blocking operationsJosef Bacik1-19/+117
2019-03-15filemap: kill page_cache_read usage in filemap_faultJosef Bacik1-60/+15
2019-03-14filemap: pass vm_fault to the mmap ra helpersJosef Bacik1-14/+14
2019-03-05mm: remove zone_lru_lock() function, access ->lru_lock directlyAndrey Ryabinin1-2/+2
2019-03-05mm/shmem: make find_get_pages_range() work for huge pageYu Zhao1-2/+2
2019-03-05docs/core-api/mm: fix return value descriptions in mm/Mike Rapoport1-11/+62
2019-03-05mm/filemap: pass inclusive 'end_byte' parameter to filemap_range_has_pagezhengbin1-1/+1
2019-03-05mm/filemap.c: remove redundant test from find_get_pages_contigMatthew Wilcox1-10/+0
2019-01-04mm/: remove caller signal_pending branch predictionsDavidlohr Bueso1-1/+1
2018-12-28mm, fault_around: do not take a reference to a locked pageMichal Hocko1-0/+7
2018-12-28mm/filemap.c: remove useless check in pagecache_get_page()Kirill Tkhai1-1/+1
2018-12-28mm: put_and_wait_on_page_locked() while page is migratedHugh Dickins1-13/+74
2018-11-02Merge tag 'xfs-4.20-merge-2' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linuxLinus Torvalds1-27/+119
2018-11-01Merge branch 'work.afs' of git://git.kernel.org/pub/scm/linux/kernel/git/viro...Linus Torvalds1-1/+1
2018-10-30vfs: enable remap callers that can handle short operationsDarrick J. Wong1-4/+7
2018-10-30vfs: make remap_file_range functions take and return bytes completedDarrick J. Wong1-1/+1
2018-10-30vfs: pass remap flags to generic_remap_checksDarrick J. Wong1-2/+2
2018-10-30vfs: strengthen checking of file range inputs to generic_remap_checksDarrick J. Wong1-32/+52
2018-10-30vfs: check file ranges before cloning filesDarrick J. Wong1-0/+69
2018-10-28Merge branch 'xarray' of git://git.infradead.org/users/willy/linux-daxLinus Torvalds1-414/+310
2018-10-26mm/filemap.c: use vmf_error()Souptick Joarder1-3/+1
2018-10-26mm/filemap.c: Use existing variablehaiqing.shq1-1/+1
2018-10-26psi: pressure stall information for CPU, memory, and IOJohannes Weiner1-4/+11
2018-10-26delayacct: track delays from thrashing cache pagesJohannes Weiner1-0/+11
2018-10-26mm: workingset: tell cache transitions from workingset thrashingJohannes Weiner1-6/+3
2018-10-26mm: convert to use vm_fault_tSouptick Joarder1-2/+2
2018-10-24iov_iter: Use accessor functionDavid Howells1-1/+1
2018-10-21page cache: Convert filemap_range_has_page to XArrayMatthew Wilcox1-8/+19
2018-10-21page cache: Remove stray radix commentMatthew Wilcox1-1/+1
2018-10-21page cache: Convert delete_batch to XArrayMatthew Wilcox1-15/+13
2018-10-21page cache: Convert filemap_map_pages to XArrayMatthew Wilcox1-29/+13
2018-10-21page cache: Convert find_get_entries_tag to XArrayMatthew Wilcox1-30/+24
2018-10-21page cache; Convert find_get_pages_range_tag to XArrayMatthew Wilcox1-42/+26
2018-10-21page cache: Convert find_get_pages_contig to XArrayMatthew Wilcox1-31/+22
2018-10-21page cache: Convert find_get_pages_range to XArrayMatthew Wilcox1-33/+19