aboutsummaryrefslogtreecommitdiffstats
path: root/mm/truncate.c
AgeCommit message (Expand)AuthorFilesLines
2023-12-10fs: convert error_remove_page to error_remove_folioMatthew Wilcox (Oracle)1-5/+4
2023-12-10mm: remove invalidate_inode_page()Matthew Wilcox (Oracle)1-9/+2
2023-12-10mm: make mapping_evict_folio() the preferred way to evict clean foliosMatthew Wilcox (Oracle)1-17/+16
2023-08-29Merge tag 'mm-stable-2023-08-28-18-26' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-5/+3
2023-08-18mm: merge folio_has_private()/filemap_release_folio() call pairsDavid Howells1-4/+2
2023-08-18mm: increase usage of folio_next_index() helperSidhartha Kumar1-1/+1
2023-08-11mm: invalidation check mapping before folio_containsHugh Dickins1-2/+2
2023-06-23mm: remove references to pagevecMatthew Wilcox (Oracle)1-1/+1
2023-06-23mm: rename invalidate_mapping_pagevec to mapping_try_invalidateMatthew Wilcox (Oracle)1-13/+12
2023-04-05mm: return an ERR_PTR from __filemap_get_folioChristoph Hellwig1-7/+8
2022-12-11folio-compat: remove lru_cache_add()Vishal Moola (Oracle)1-1/+1
2022-11-08filemap: find_get_entries() now updates start offsetVishal Moola (Oracle)1-12/+7
2022-11-08filemap: find_lock_entries() now updates start offsetVishal Moola (Oracle)1-8/+3
2022-10-03mm: add split_folio()Matthew Wilcox (Oracle)1-1/+1
2022-06-29mm: Remove __delete_from_page_cache()Matthew Wilcox (Oracle)1-1/+1
2022-03-22Merge tag 'folio-5.18b' of git://git.infradead.org/users/willy/pagecacheLinus Torvalds1-24/+18
2022-03-21mm/truncate: Combine invalidate_mapping_pagevec() and __invalidate_mapping_pa...Matthew Wilcox (Oracle)1-19/+13
2022-03-21mm: Turn deactivate_file_page() into deactivate_file_folio()Matthew Wilcox (Oracle)1-1/+1
2022-03-21mm/truncate: Convert __invalidate_mapping_pages() to use a folioMatthew Wilcox (Oracle)1-9/+9
2022-03-21mm/truncate: Split invalidate_inode_page() into mapping_evict_folio()Matthew Wilcox (Oracle)1-11/+23
2022-03-21mm: Convert remove_mapping() to take a folioMatthew Wilcox (Oracle)1-1/+1
2022-03-21mm/truncate: Replace page_mapped() call in invalidate_inode_page()Matthew Wilcox (Oracle)1-1/+3
2022-03-21mm/truncate: Convert invalidate_inode_page() to use a folioMatthew Wilcox (Oracle)1-3/+4
2022-03-21mm/truncate: Inline invalidate_complete_page() into its one callerMatthew Wilcox (Oracle)1-23/+5
2022-03-15fs: Add aops->launder_folioMatthew Wilcox (Oracle)1-4/+4
2022-03-15fs: Remove aops->invalidatepageMatthew Wilcox (Oracle)1-11/+3
2022-03-15fs: Turn block_invalidatepage into block_invalidate_folioMatthew Wilcox (Oracle)1-4/+0
2022-03-15fs: Add invalidate_folio() aops methodMatthew Wilcox (Oracle)1-1/+7
2022-03-15fs: Turn do_invalidatepage() into folio_invalidate()Matthew Wilcox (Oracle)1-10/+10
2022-01-22mm: remove cleancacheChristoph Hellwig1-13/+2
2022-01-15Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-4/+1
2022-01-15mm/truncate.c: remove unneeded variablechiminghao1-4/+1
2022-01-08truncate,shmem: Handle truncates that split large foliosMatthew Wilcox (Oracle)1-42/+75
2022-01-08truncate: Convert invalidate_inode_pages2_range to foliosMatthew Wilcox (Oracle)1-5/+5
2022-01-08mm: Remove pagevec_remove_exceptionals()Matthew Wilcox (Oracle)1-1/+1
2022-01-08mm: Convert find_lock_entries() to use a folio_batchMatthew Wilcox (Oracle)1-38/+29
2022-01-08filemap: Return only folios from find_get_entries()Matthew Wilcox (Oracle)1-19/+24
2022-01-08truncate: Add invalidate_complete_folio2()Matthew Wilcox (Oracle)1-13/+10
2022-01-08truncate: Convert invalidate_inode_pages2_range() to use a folioMatthew Wilcox (Oracle)1-14/+17
2022-01-08truncate: Skip known-truncated indicesMatthew Wilcox (Oracle)1-0/+1
2022-01-08truncate,shmem: Add truncate_inode_folio()Matthew Wilcox (Oracle)1-11/+12
2022-01-08mm: Add unmap_mapping_folio()Matthew Wilcox (Oracle)1-2/+2
2022-01-04truncate: Add truncate_cleanup_folio()Matthew Wilcox (Oracle)1-10/+11
2021-11-09vfs: keep inodes with page cache off the inode shrinker LRUJohannes Weiner1-2/+17
2021-09-03Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-15/+13
2021-09-03fs: inode: count invalidated shadow pages in pginodestealJohannes Weiner1-10/+10
2021-09-03mm: remove irqsave/restore locking from contexts with irqs enabledJohannes Weiner1-5/+3
2021-07-13mm: Protect operations adding pages to page cache with invalidate_lockJan Kara1-1/+2
2021-07-12mm: Fix comments mentioning i_mutexJan Kara1-4/+4
2021-06-16mm/thp: unmap_mapping_page() to fix THP truncate_cleanup_page()Hugh Dickins1-24/+19
2021-05-05mm: stop accounting shadow entriesMatthew Wilcox (Oracle)1-1/+0
2021-05-05mm: introduce and use mapping_empty()Matthew Wilcox (Oracle)1-15/+3
2021-02-26mm: remove pagevec_lookup_entriesMatthew Wilcox (Oracle)1-2/+2
2021-02-26mm: remove nr_entries parameter from pagevec_lookup_entriesMatthew Wilcox (Oracle)1-3/+2
2021-02-26mm: add an 'end' parameter to pagevec_lookup_entriesMatthew Wilcox (Oracle)1-31/+10
2021-02-26mm: add and use find_lock_entriesMatthew Wilcox (Oracle)1-80/+11
2020-12-15mm: fix kernel-doc markupsMauro Carvalho Chehab1-3/+3
2020-12-15mm/truncate: add parameter explanation for invalidate_mapping_pagevecAlex Shi1-3/+9
2020-11-02mm/truncate.c: make __invalidate_mapping_pages() staticJason Yan1-1/+1
2020-10-16mm/truncate: fix truncation for pages of arbitrary sizeMatthew Wilcox (Oracle)1-3/+3
2020-10-13mm, fadvise: improve the expensive remote LRU cache draining after FADV_DONTNEEDYafang Shao1-18/+40
2019-10-19mm/thp: allow dropping THP from page cacheKirill A. Shutemov1-0/+12
2019-05-21treewide: Add SPDX license identifier for missed filesThomas Gleixner1-0/+1
2019-03-05docs/core-api/mm: fix return value descriptions in mm/Mike Rapoport1-2/+4
2018-11-30mm: cleancache: fix corruption on missed inode invalidationPavel Tikhomirov1-2/+6
2018-10-21mm: Convert truncate to XArrayMatthew Wilcox1-9/+6
2018-09-29xarray: Replace exceptional entriesMatthew Wilcox1-6/+6
2018-04-11page cache: use xa_lockMatthew Wilcox1-11/+11
2018-01-31mm: add unmap_mapping_pages()Matthew Wilcox1-16/+7
2017-11-15mm, pagevec: remove cold parameter for pagevecsMel Gorman1-4/+4
2017-11-15mm, truncate: remove all exceptional entries from pagevec under one lockMel Gorman1-28/+63
2017-11-15mm, truncate: do not check mapping for every page being truncatedMel Gorman1-1/+1
2017-11-15mm: batch radix tree operations when truncating pagesJan Kara1-2/+18
2017-11-15mm: refactor truncate_complete_page()Jan Kara1-14/+16
2017-07-10mm/truncate.c: fix THP handling in invalidate_mapping_pages()Jan Kara1-2/+8
2017-05-12mm: fix data corruption due to stale mmap readsJan Kara1-1/+11
2017-05-12dax: prevent invalidation of mapped DAX entriesRoss Zwisler1-6/+3
2017-05-03mm/truncate: avoid pointless cleancache_invalidate_inode() calls.Andrey Ryabinin1-5/+7
2017-05-03mm/truncate: bail out early from invalidate_inode_pages2_range() if mapping i...Andrey Ryabinin1-0/+3
2017-02-27fs: add i_blocksize()Fabian Frederick1-1/+1
2017-02-24mm: remove shmem_mapping() shmem_zero_setup() duplicatesHugh Dickins1-0/+1
2016-12-26mm: Invalidate DAX radix tree entries only if appropriateJan Kara1-14/+61
2016-12-12mm: workingset: move shadow entry tracking to radix tree exceptional trackingJohannes Weiner1-18/+3
2016-12-12lib: radix-tree: check accounting of existing slot replacement usersJohannes Weiner1-1/+1
2016-11-30mm: fix false-positive WARN_ON() in truncate/invalidate for hugetlbKirill A. Shutemov1-4/+4
2016-07-26truncate: handle file thpKirill A. Shutemov1-5/+23
2016-05-19dax: New fault lockingJan Kara1-32/+30
2016-04-04mm, fs: get rid of PAGE_CACHE_* and page_cache_{get,release} macrosKirill A. Shutemov1-20/+20
2016-03-15mm: remove unnecessary uses of lock_page_memcg()Johannes Weiner1-3/+0
2016-03-15mm: simplify lock_page_memcg()Johannes Weiner1-5/+4
2016-03-15mm: memcontrol: generalize locking for the page->mem_cgroup bindingJohannes Weiner1-3/+3
2016-01-22dax: support dirty DAX entries in radix treeRoss Zwisler1-30/+39
2015-06-02memcg: add per cgroup dirty page accountingGreg Thelen1-4/+10
2015-06-02page_writeback: revive cancel_dirty_page() in a restricted formTejun Heo1-3/+1
2015-04-15mm: rename deactivate_page to deactivate_file_pageMinchan Kim1-1/+1
2015-04-14page_writeback: clean up mess around cancel_dirty_page()Konstantin Khlebnikov1-30/+7
2015-01-20fs: export inode_to_bdi and use it in favor of mapping->backing_dev_infoChristoph Hellwig1-1/+1
2014-11-07mm: Fix comment before truncate_setsize()Jan Kara1-2/+3
2014-10-30mm: Remove false WARN_ON from pagecache_isize_extended()Jan Kara1-1/+0
2014-10-01vfs: fix data corruption when blocksize < pagesize for mmaped dataJan Kara1-0/+57
2014-08-08mm: memcontrol: rewrite uncharge APIJohannes Weiner1-9/+0
2014-07-23mm/fs: fix pessimization in hole-punching pagecacheHugh Dickins1-3/+8
2014-05-06mm: filemap: update find_get_pages_tag() to deal with shadow entriesJohannes Weiner1-8/+0
2014-04-03mm: keep page cache radix tree nodes in checkJohannes Weiner1-2/+24
2014-04-03mm + fs: store shadow entries in page cacheJohannes Weiner1-3/+51
2014-04-03mm + fs: prepare for non-page entries in page cache radix treesJohannes Weiner1-13/+61
2013-09-12truncate: drop 'oldsize' truncate_pagecache() parameterKirill A. Shutemov1-7/+2
2013-05-27mm: teach truncate_inode_pages_range() to handle non page aligned rangesLukas Czerner1-31/+73
2013-05-21mm: change invalidatepage prototype to accept lengthLukas Czerner1-6/+9
2012-12-20mm: drop vmtruncateMarco Stornelli1-23/+0
2012-10-09mm: use clear_page_mlock() in page_remove_rmap()Hugh Dickins1-4/+0
2012-10-09mm: fix invalidate_complete_page2() lock orderingHugh Dickins1-1/+2
2012-05-29mm/fs: remove truncate_rangeHugh Dickins1-25/+0
2012-03-28mm for fs: add truncate_pagecache_range()Hugh Dickins1-0/+40
2012-03-22Merge tag 'stable/for-linus-3.4' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-5/+5
2012-02-23mm: fix comment typo of truncate_inode_pages_rangeLiu Bo1-1/+1
2012-01-23mm: cleancache: s/flush/invalidate/Dan Magenheimer1-5/+5
2011-10-31mm: Map most files to use export.h instead of module.hPaul Gortmaker1-1/+1
2011-08-03mm: a few small updates for radix-swapHugh Dickins1-0/+8
2011-07-25mm: pincer in truncate_inode_pages_rangeHugh Dickins1-1/+1
2011-07-25mm: consistent truncate and invalidate loopsHugh Dickins1-63/+47
2011-07-25mm: tidy vmtruncate_range and related functionsHugh Dickins1-14/+17
2011-07-20fs: kill i_alloc_semChristoph Hellwig1-2/+1
2011-06-27mm: fix assertion mapping->nrpages == 0 in end_writeback()Jan Kara1-0/+5
2011-06-27tmpfs: take control of its truncate_rangeHugh Dickins1-2/+2
2011-06-27mm: move vmtruncate_range to truncate.cHugh Dickins1-0/+24
2011-05-26mm/fs: add hooks to support cleancacheDan Magenheimer1-0/+6
2011-03-22mm: deactivate invalidated pagesMinchan Kim1-5/+12
2011-03-22mm: change __remove_from_page_cache()Minchan Kim1-1/+1
2011-03-22mm: truncate: change remove_from_page_cacheMinchan Kim1-2/+1
2011-02-25memcg: more mem_cgroup_uncharge() batchingHugh Dickins1-0/+2
2011-01-20mm: fix truncate_setsize() commentJan Kara1-6/+5
2010-12-02Call the filesystem back whenever a page is removed from the page cacheLinus Torvalds1-0/+4
2010-08-09check ATTR_SIZE contraints in inode_change_okChristoph Hellwig1-9/+29
2010-05-27fs: introduce new truncate sequencenpiggin@suse.de1-5/+5
2010-03-30include cleanup: Update gfp.h and slab.h includes to prepare for breaking imp...Tejun Heo1-0/+1
2010-01-13vfs: Fix vmtruncate() regressionOGAWA Hirofumi1-16/+14
2009-12-16memcg: coalesce uncharge during unmap/truncateKAMEZAWA Hiroyuki1-0/+6
2009-12-04mm: fix comments for invalidate_inode_pages2()Peng Tao1-1/+1
2009-09-24Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-0/+64
2009-09-24truncate: new helpersnpiggin@suse.de1-0/+64
2009-09-16HWPOISON: Define a new error_remove_page address space op for async truncationAndi Kleen1-0/+17
2009-09-16HWPOISON: Add invalidate_inode_pageWu Fengguang1-6/+20
2009-09-16HWPOISON: Refactor truncate to allow direct truncating of page v2Nick Piggin1-14/+15
2009-06-16mm: remove __invalidate_mapping_pages variantMike Waychison1-23/+16
2009-05-29memcg: fix deadlock between lock_page_cgroup and mapping tree_lockDaisuke Nishimura1-0/+1
2009-04-03FS-Cache: Recruit a page flags for cache managementDavid Howells1-5/+5
2008-10-20mmap: handle mlocked pages during map, remap, unmapRik van Riel1-0/+4
2008-10-16Remove Andrew Morton's old email accountsFrancois Cami1-1/+1
2008-09-02VFS: fix dio write returning EIO when try_to_release_page failsHisashi Hifumi1-2/+2
2008-08-04mm: rename page trylockNick Piggin1-2/+2
2008-08-02mm: dont clear PG_uptodate on truncate/invalidateMiklos Szeredi1-2/+0
2008-07-26mm: spinlock tree_lockNick Piggin1-3/+3
2008-04-28fix invalidate_inode_pages2_range() to not clear retHisashi Hifumi1-3/+8
2008-03-03docbook: fix kernel-api source filesRandy Dunlap1-2/+1
2008-02-05page migraton: handle orphaned pagesShaohua Li1-1/+1
2008-02-05Fix dirty page accounting leak with ext3 data=journalBjorn Steinbrink1-2/+2
2008-02-05Pagecache zeroing: zero_user_segment, zero_user_segments and zero_userChristoph Lameter1-1/+1
2008-02-03do_invalidatepage() comment typo fixFengguang Wu1-1/+1
2007-10-17Drop some headers from mm.hAlexey Dobriyan1-0/+1
2007-10-17mm: count reclaimable pages per BDIPeter Zijlstra1-0/+2
2007-07-19mm: merge populate and nopage into fault (fixes nonlinear)Nick Piggin1-1/+1
2007-07-19mm: fix fault vs invalidate race for linear mappingsNick Piggin1-1/+12
2007-07-17fs: introduce some page/buffer invariantsNick Piggin1-1/+1
2007-07-16invalidate_mapping_pages(): add cond_reschedAndrew Morton1-15/+23
2007-07-16vmscan: fix comments related to shrink_list()Anderson Briglia1-2/+2
2007-05-09fs: convert core functions to zero_user_pageNate Diller1-1/+2
2007-03-01[PATCH] VM: invalidate_inode_pages2_range() should not exit earlyTrond Myklebust1-2/+2
2007-02-11[PATCH] remove invalidate_inode_pages()Andrew Morton1-2/+2
2007-02-11[PATCH] Export invalidate_mapping_pages() to modulesAnton Altaparmakov1-6/+1
2007-01-26[PATCH] MM: Remove [PATCH] invalidate_inode_pages2_range() debugTrond Myklebust1-1/+0
2007-01-26Resurrect 'try_to_free_buffers()' VM hackeryLinus Torvalds1-7/+14
2007-01-11[PATCH] NFS: Fix race in nfs_release_page()Trond Myklebust1-1/+11
2006-12-23Clean up and export cancel_dirty_page() to modulesLinus Torvalds1-4/+8
2006-12-22[PATCH] truncate: dirty memory accounting fixAndrew Morton1-1/+2
2006-12-21[PATCH] truncate: clear page dirtiness before running try_to_free_buffers()Andrew Morton1-4/+5
2006-12-21VM: Remove "clear_page_dirty()" and "test_clear_page_dirty()" functionsLinus Torvalds1-8/+17
2006-12-10[PATCH] io-accounting: write-cancel accountingAndrew Morton1-1/+3
2006-10-17[PATCH] invalidate: remove_mapping() fixAndrew Morton1-1/+0
2006-10-11[PATCH] VM: Fix the gfp_mask in invalidate_complete_page2Trond Myklebust1-1/+1
2006-10-11[PATCH] invalidate_inode_pages2_range() debugAndrew Morton1-0/+1
2006-10-01[PATCH] invalidate_inode_pages2(): ignore page refcountsAndrew Morton1-2/+32
2006-09-30[PATCH] BLOCK: Make it possible to disable the block layer [try #6]David Howells1-0/+2
2006-09-30[PATCH] BLOCK: Move functions out of buffer code [try #6]David Howells1-0/+24
2006-09-27[PATCH] page invalidation cleanupNick Piggin1-17/+8
2006-09-08[PATCH] invalidate_complete_page() race fixAndrew Morton1-4/+7
2006-06-23[PATCH] Remove semi-softlockup from invalidate_mapping_pagesNeilBrown1-6/+16
2006-01-09[PATCH] mutex subsystem, semaphore to mutex: VFS, ->i_semJes Sorensen1-1/+1
2006-01-08[PATCH] drop-pagecacheAndrew Morton1-1/+0
2006-01-06[PATCH] reiser4: vfs: add truncate_inode_pages_range()Hans Reiser1-7/+37
2005-11-23[PATCH] 32bit integer overflow in invalidate_inode_pages2()Oleg Drokin1-3/+3
2005-10-30[PATCH] ext3: Fix unmapped buffers in transaction's listsJan Kara1-10/+1
2005-05-01[PATCH] DocBook: fix some descriptionsMartin Waitz1-2/+2
2005-04-16Linux-2.6.12-rc2v2.6.12-rc2Linus Torvalds1-0/+336