aboutsummaryrefslogtreecommitdiffstats
path: root/mm/filemap.c
AgeCommit message (Expand)AuthorFilesLines
2025-04-11mm: fix filemap_get_folios_contig returning batches of identical foliosVishal Moola (Oracle)1-0/+1
2025-04-01Merge tag 'mm-stable-2025-03-30-16-52' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-31/+19
2025-03-27Merge tag 'f2fs-for-6.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-1/+1
2025-03-26Merge tag 'sysctl-6.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-3/+15
2025-03-17Merge tag 'mm-hotfixes-stable-2025-03-17-20-09' of git://git.kernel.org/pub/s...Linus Torvalds1-12/+28
2025-03-17mm/filemap: use xas_try_split() in __filemap_add_folio()Zi Yan1-27/+18
2025-03-16filemap: remove redundant folio_test_large check in filemap_free_folioGuanjun1-4/+1
2025-03-16mm: fix error handling in __filemap_get_folio() with FGP_NOWAITRaphael S. Carvalho1-1/+12
2025-03-16filemap: move prefaulting out of hot write pathDave Hansen1-11/+16
2025-03-13Revert "fanotify: disable readahead if we have pre-content watches"Amir Goldstein1-12/+0
2025-03-13Revert "fsnotify: generate pre-content permission event on page fault"Amir Goldstein1-74/+0
2025-03-06fs/pipe: add simpler helpers for common casesLinus Torvalds1-4/+3
2025-03-04mm: Remove wait_on_page_locked()Matthew Wilcox (Oracle)1-1/+1
2025-02-21mm/filemap: fix miscalculated file range for filemap_fdatawrite_range_kick()Jingbo Xu1-1/+1
2025-02-07mm: filemap: move sysctl to mm/filemap.cKaixiong Yu1-3/+15
2025-01-26Merge tag 'mm-stable-2025-01-26-14-59' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-32/+89
2025-01-25mm: add FGP_DONTCACHE folio creation flagJens Axboe1-0/+5
2025-01-25mm/filemap: add filemap_fdatawrite_range_kick() helperJens Axboe1-0/+18
2025-01-25mm/filemap: drop streaming/uncached pages when writeback completesJens Axboe1-0/+28
2025-01-25mm/filemap: add read support for RWF_DONTCACHEJens Axboe1-2/+26
2025-01-25mm/filemap: use page_cache_sync_ra() to kick off read-aheadJens Axboe1-3/+3
2025-01-25mm/filemap: change filemap_create_folio() to take a struct kiocbJens Axboe1-8/+9
2025-01-23Merge tag 'fsnotify_hsm_for_v6.14-rc1' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-0/+86
2025-01-21cachestat: fix page cache statistics permission checkingLinus Torvalds1-0/+17
2025-01-13filemap: remove unused folio_add_wait_queueDr. David Alan Gilbert1-19/+0
2025-01-12mm: fix assertion in folio_end_read()Matthew Wilcox (Oracle)1-1/+1
2025-01-12filemap: avoid truncating 64-bit offset to 32 bitsMarco Nelissen1-1/+1
2024-12-30mm, madvise: fix potential workingset node list_lru leaksKairui Song1-9/+0
2024-12-11fsnotify: generate pre-content permission event on page faultJosef Bacik1-0/+74
2024-12-10fanotify: disable readahead if we have pre-content watchesJosef Bacik1-0/+12
2024-12-05mm/filemap: don't call folio_test_locked() without a reference in next_uptoda...David Hildenbrand1-2/+2
2024-11-23Merge tag 'mm-stable-2024-11-18-19-27' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-3/+2
2024-11-18Merge tag 'pull-fd' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfsLinus Torvalds1-12/+5
2024-11-18Merge tag 'vfs-6.13.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vf...Linus Torvalds1-0/+2
2024-11-10filemap: Fix bounds checking in filemap_read()Trond Myklebust1-1/+1
2024-11-06memcg-v1: remove memcg move locking codeShakeel Butt1-1/+0
2024-11-05mm: filemap: filemap_fault_recheck_pte_none() use pte_offset_map_ro_nolock()Qi Zheng1-2/+2
2024-11-03convert cachestat(2)Al Viro1-12/+5
2024-10-02filemap: filemap_read() should check that the offset is positive or zeroTrond Myklebust1-0/+2
2024-09-26mm/filemap: fix filemap_get_folios_contig THP panicSteve Sistare1-0/+4
2024-09-23Merge tag 'pull-stable-struct_fd' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-3/+3
2024-09-21Merge tag 'mm-stable-2024-09-20-02-31' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-26/+41
2024-09-20Merge tag 'vfs-6.12.blocksize' of gitolite.kernel.org:pub/scm/linux/kernel/gi...Linus Torvalds1-13/+23
2024-09-16Merge tag 'for-6.12/io_uring-discard-20240913' of git://git.kernel.dk/linuxLinus Torvalds1-5/+12
2024-09-16Merge tag 'vfs-6.12.folio' of gitolite.kernel.org:pub/scm/linux/kernel/git/vf...Linus Torvalds1-4/+2
2024-09-11filemap: introduce filemap_invalidate_pagesPavel Begunkov1-5/+12
2024-09-09mm: replace xa_get_order with xas_get_order where appropriateShakeel Butt1-3/+3
2024-09-09filemap: fix the last_index of mm_filemap_get_pagesTakaya Saeki1-1/+1
2024-09-09mm: remove isolate_lru_page()Kefeng Wang1-1/+1
2024-09-03mm: allow read-ahead with IOCB_NOWAIT setYafang Shao1-0/+6
2024-09-03mm: filemap: use xa_get_order() to get the swap entry orderBaolin Wang1-14/+27
2024-09-02filemap: cap PTE range to be created to allowed zero fill in folio_map_range()Pankaj Raghav1-1/+5
2024-09-01filemap: add trace events for get_pages, map_pages, and faultTakaya Saeki1-0/+4
2024-09-01fs: remove calls to set and clear the folio error flagMatthew Wilcox (Oracle)1-8/+0
2024-09-01mm: remove follow_page()David Hildenbrand1-1/+1
2024-08-30mm: Fix filemap_invalidate_inode() to use invalidate_inode_pages2_range()David Howells1-1/+1
2024-08-23filemap: allocate mapping_min_order folios in the page cachePankaj Raghav1-8/+16
2024-08-23fs: Allow fine-grained control of folio sizesMatthew Wilcox (Oracle)1-4/+2
2024-08-12introduce fd_file(), convert all accessors to it.Al Viro1-3/+3
2024-08-07fs: Convert aops->write_begin to take a folioMatthew Wilcox (Oracle)1-3/+1
2024-08-07fs: Convert aops->write_end to take a folioMatthew Wilcox (Oracle)1-1/+1
2024-07-21Merge tag 'mm-stable-2024-07-21-14-50' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-4/+4
2024-07-18Merge tag 'nfs-for-6.11-1' of git://git.linux-nfs.org/projects/anna/linux-nfsLinus Torvalds1-15/+25
2024-07-09filemap: replace pte_offset_map() with pte_offset_map_nolock()ZhangPeng1-1/+2
2024-07-08filemap: Convert generic_perform_write() to support large foliosMatthew Wilcox (Oracle)1-15/+25
2024-07-06Merge branch 'mm-hotfixes-stable' into mm-stable to pick up "mm: fixAndrew Morton1-7/+10
2024-07-03cachestat: do not flush stats in recency checkNhat Pham1-1/+4
2024-07-03mm/filemap: skip to create PMD-sized page cache if neededGavin Shan1-1/+1
2024-07-03mm: page_ref: remove folio_try_get_rcu()Yang Shi1-5/+5
2024-07-03filemap: fix page_cache_next_miss() when no hole foundJan Kara1-3/+3
2024-07-03mm/filemap: reinitialize folio->_mapcount directlyDavid Hildenbrand1-1/+1
2024-06-05mm: fix xyz_noprof functions calling profiled functionsSuren Baghdasaryan1-1/+1
2024-05-19Merge tag 'mm-stable-2024-05-17-19-19' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-37/+78
2024-05-05mm: filemap: batch mm counter updating in filemap_map_pages()Kefeng Wang1-9/+12
2024-05-05mm: move mm counter updating out of set_pte_range()Kefeng Wang1-0/+4
2024-05-05mm/filemap: use folio_mapcount() in filemap_unaccount_folio()David Hildenbrand1-1/+1
2024-05-01mm: Provide a means of invalidation without using launder_folioDavid Howells1-0/+54
2024-04-29mm: Remove the PG_fscache alias for PG_private_2David Howells1-3/+3
2024-04-25mm: use "GUP-fast" instead "fast GUP" in remaining commentsDavid Hildenbrand1-1/+1
2024-04-25mm/filemap: optimize filemap folio addingKairui Song1-15/+41
2024-04-25mm/filemap: clean up hugetlb exclusion codeKairui Song1-13/+8
2024-04-25mm/filemap: return early if failed to allocate memory for splitKairui Song1-1/+4
2024-04-25mm/filemap: don't decrease mmap_miss when folio has workingset flagLiu Shixin1-2/+12
2024-04-25mm: enable page allocation taggingSuren Baghdasaryan1-3/+3
2024-03-26mm: cachestat: fix two shmem bugsJohannes Weiner1-0/+16
2024-03-14Merge tag 'mm-stable-2024-03-13-20-04' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-4/+48
2024-03-13Merge tag 'xfs-6.9-merge-8' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linuxLinus Torvalds1-0/+9
2024-03-11Merge tag 'vfs-6.9.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs...Linus Torvalds1-9/+0
2024-03-06filemap: avoid unnecessary major faults in filemap_fault()ZhangPeng1-0/+46
2024-03-04mm: support order-1 folios in the page cacheMatthew Wilcox (Oracle)1-2/+0
2024-02-23merge mm-hotfixes-stable into mm-nonmm-stable to pick up stackdepot changesAndrew Morton1-25/+26
2024-02-23mm: cachestat: fix folio read-after-free in cache walkNhat Pham1-25/+26
2024-02-21mm: add pfn_swap_entry_folio()Matthew Wilcox (Oracle)1-1/+1
2024-02-21mm/filemap: avoid type conversionHongbo Li1-1/+1
2024-02-21mm: move mapping_set_update out of <linux/swap.h>Christoph Hellwig1-0/+9
2024-01-25Revert "mm/filemap: avoid buffered read/write race to read inconsistent data"Baokun Li1-9/+0
2024-01-19Merge tag 'vfs-6.8.netfs' of gitolite.kernel.org:pub/scm/linux/kernel/git/vfs...Linus Torvalds1-0/+2
2024-01-10Merge tag 'header_cleanup-2024-01-10' of https://evilpiepirate.org/git/bcachefsLinus Torvalds1-0/+1
2023-12-29mm/rmap: remove page_remove_rmap()David Hildenbrand1-5/+5
2023-12-28netfs: Implement unbuffered/DIO write supportDavid Howells1-0/+1
2023-12-28netfs: Implement unbuffered/DIO read supportDavid Howells1-0/+1
2023-12-27Kill sched.h dependency on rcupdate.hKent Overstreet1-0/+1
2023-12-20sync mm-stable with mm-hotfixes-stable to pick up depended-upon changesAndrew Morton1-0/+9
2023-12-20mm/filemap: avoid buffered read/write race to read inconsistent dataBaokun Li1-0/+9
2023-12-12mm: filemap: remove unnecessary iitialization of retLi zeming1-1/+1
2023-12-10mm/filemap: increase usage of folio_next_index() helperMinjie Du1-1/+1
2023-12-06mm: fix oops when filemap_map_pmd() without prealloc_pteHugh Dickins1-1/+1
2023-11-15mm: more ptep_get() conversionRyan Roberts1-1/+1
2023-10-18mm: drop the assumption that VM_SHARED always implies writableLorenzo Stoakes1-1/+1
2023-10-18filemap: remove use of wait bookmarksMatthew Wilcox (Oracle)1-20/+1
2023-10-18memcontrol: only transfer the memcg data for migrationNhat Pham1-1/+1
2023-10-18mm: use folio_xor_flags_has_waiters() in folio_end_writeback()Matthew Wilcox (Oracle)1-12/+3
2023-10-18mm: make __end_folio_writeback() return voidMatthew Wilcox (Oracle)1-2/+7
2023-10-18mm: add folio_xor_flags_has_waiters()Matthew Wilcox (Oracle)1-3/+11
2023-10-18mm: delete checks for xor_unlock_is_negative_byte()Matthew Wilcox (Oracle)1-29/+1
2023-10-18bitops: add xor_unlock_is_negative_byte()Matthew Wilcox (Oracle)1-0/+5
2023-10-18mm: add folio_end_read()Matthew Wilcox (Oracle)1-0/+22
2023-10-18filemap: call filemap_get_folios_tag() from filemap_get_folios()Pankaj Raghav1-37/+8
2023-10-18mm: make lock_folio_maybe_drop_mmap() VMA lock awareMatthew Wilcox (Oracle)1-6/+7
2023-10-18mm/filemap: clarify filemap_fault() comments for not uptodate caseLorenzo Stoakes1-6/+13
2023-10-16mm/filemap: remove hugetlb special casing in filemap.cSidhartha Kumar1-24/+10
2023-10-06mm/filemap: increase usage of folio_next_index() helperMinjie Du1-1/+1
2023-09-29mm: report success more often from filemap_map_folio_range()Matthew Wilcox (Oracle)1-2/+2
2023-09-19filemap: add filemap_map_order0_folio() to handle order0 folioYin Fengwei1-21/+48
2023-09-05mm: memory-failure: use rcu lock instead of tasklist_lock when collect_procs()Tong Tiangen1-3/+0
2023-08-29Merge tag 'mm-stable-2023-08-28-18-26' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-79/+98
2023-08-24filemap: batch PTE mappingsYin Fengwei1-14/+29
2023-08-24mm: convert do_set_pte() to set_pte_range()Yin Fengwei1-2/+1
2023-08-24filemap: add filemap_map_folio_range()Yin Fengwei1-54/+55
2023-08-24mm: handle swap page faults under per-VMA lockSuren Baghdasaryan1-9/+8
2023-08-24mm: change folio_lock_or_retry to use vm_fault directlySuren Baghdasaryan1-10/+12
2023-08-18mm: merge folio_has_private()/filemap_release_folio() call pairsDavid Howells1-0/+2
2023-08-18mm/filemap.c: fix update prev_pos after one read request doneHaibo Li1-4/+5
2023-08-18mm: increase usage of folio_next_index() helperSidhartha Kumar1-4/+4
2023-07-24filemap: Allow __filemap_get_folio to allocate large foliosMatthew Wilcox (Oracle)1-13/+33
2023-07-24filemap: Add fgf_t typedefMatthew Wilcox (Oracle)1-17/+2
2023-06-28Merge tag 'mm-stable-2023-06-24-19-15' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-172/+278
2023-06-26Merge tag 'for-6.5/splice-2023-06-23' of git://git.kernel.dk/linuxLinus Torvalds1-7/+24
2023-06-23Revert "page cache: fix page_cache_next/prev_miss off by one"Mike Kravetz1-16/+10
2023-06-23Merge mm-hotfixes-stable into mm-stable to pick up depended-upon changes.Andrew Morton1-10/+16
2023-06-19mm: kill lock|unlock_page_memcg()Kefeng Wang1-1/+1
2023-06-19mm: ptep_get() conversionRyan Roberts1-1/+1
2023-06-19mm/filemap: allow pte_offset_map_lock() to failHugh Dickins1-7/+5
2023-06-19mm/migrate: remove cruft from migration_entry_wait()sHugh Dickins1-9/+4
2023-06-12page cache: fix page_cache_next/prev_miss off by oneMike Kravetz1-10/+16
2023-06-09fs: factor out a direct_write_fallback helperChristoph Hellwig1-51/+15
2023-06-09filemap: add a kiocb_invalidate_post_direct_write helperChristoph Hellwig1-17/+20
2023-06-09filemap: add a kiocb_invalidate_pages helperChristoph Hellwig1-20/+28
2023-06-09filemap: add a kiocb_write_and_wait helperChristoph Hellwig1-12/+18
2023-06-09filemap: update ki_pos in generic_perform_writeChristoph Hellwig1-4/+4
2023-06-09backing_dev: remove current->backing_dev_infoChristoph Hellwig1-3/+0
2023-06-09filemap: remove page_endio()Pankaj Raghav1-30/+0
2023-06-09cachestat: implement cachestat syscallNhat Pham1-0/+171
2023-05-24splice: kdoc for filemap_splice_read() and copy_splice_read()David Howells1-3/+18
2023-05-24iov_iter: Kill ITER_PIPEDavid Howells1-2/+1
2023-05-24splice: Make filemap_splice_read() check s_maxbytesDavid Howells1-0/+3
2023-05-24splice: Fix filemap_splice_read() to use the correct inodeDavid Howells1-2/+2
2023-05-06filemap: Handle error return from __filemap_get_folio()Matthew Wilcox1-1/+1
2023-04-05mm: return an ERR_PTR from __filemap_get_folioChristoph Hellwig1-6/+8
2023-04-05mm: remove FGP_ENTRYChristoph Hellwig1-6/+1
2023-04-05mm: make mapping_get_entry available outside of filemap.cChristoph Hellwig1-3/+3
2023-02-23Merge tag 'mm-stable-2023-02-20-13-37' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-58/+80
2023-02-20splice: Export filemap/direct_splice_read()David Howells1-0/+1
2023-02-20splice: Add a func to do a splice from a buffered file without ITER_PIPEDavid Howells1-0/+129
2023-02-20mm: Pass info, not iter, into filemap_get_pages()David Howells1-13/+14
2023-02-16mm/filemap: fix page end in filemap_get_read_batchQian Yingjin1-2/+3
2023-02-09filemap: add mapping_read_folio_gfp()Matthew Wilcox (Oracle)1-0/+24
2023-02-09mm/mmap: remove __vma_adjust()Liam R. Howlett1-1/+1
2023-02-02filemap: convert filemap_range_has_page() to use a folioMatthew Wilcox (Oracle)1-5/+5
2023-02-02filemap: convert filemap_map_pmd() to take a folioMatthew Wilcox (Oracle)1-8/+10
2023-02-02filemap: remove find_get_pages_range_tag()Vishal Moola (Oracle)1-60/+0
2023-02-02filemap: convert __filemap_fdatawait_range() to use filemap_get_folios_tag()Vishal Moola (Oracle)1-11/+13
2023-02-02filemap: add filemap_get_folios_tag()Vishal Moola (Oracle)1-0/+54
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