aboutsummaryrefslogtreecommitdiffstats
path: root/mm/shmem.c
AgeCommit message (Expand)AuthorFilesLines
6 daysMerge tag 'mm-nonmm-stable-2025-12-06-11-14' of git://git.kernel.org/pub/scm/...Linus Torvalds1-18/+31
7 daysMerge tag 'pull-persistency' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-30/+8
7 daysMerge tag 'mm-stable-2025-12-03-21-26' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-40/+83
11 daysMerge tag 'vfs-6.19-rc1.folio' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-4/+4
2025-11-27mm: shmem: export some functions to internal.hPratyush Yadav1-5/+5
2025-11-27mm: shmem: allow freezing inode mappingPratyush Yadav1-0/+11
2025-11-27mm: shmem: use SHMEM_F_* flags instead of VM_* flagsPratyush Yadav1-13/+15
2025-11-25fs: Add uoff_tMatthew Wilcox (Oracle)1-3/+3
2025-11-24memcg: remove __lruvec_stat_mod_folioShakeel Butt1-3/+3
2025-11-24mm: shmem: allow fallback to smaller large orders for tmpfs mmap() accessBaolin Wang1-14/+3
2025-11-24mm: introduce leaf entry type and use to simplify leaf entry logicLorenzo Stoakes1-3/+4
2025-11-17Merge tag 'vfs-6.18-rc7.fixes' of gitolite.kernel.org:pub/scm/linux/kernel/gi...Linus Torvalds1-8/+7
2025-11-16mm: shmem/tmpfs hugepage defaults config choiceDmitry Ilvokhin1-2/+31
2025-11-16mm, swap: cleanup swap entry allocation parameterKairui Song1-1/+1
2025-11-16mm: add shmem_zero_setup_desc()Lorenzo Stoakes1-8/+33
2025-11-16mm/shmem: update shmem to use mmap_prepareLorenzo Stoakes1-4/+5
2025-11-16mm: consistently use current->mm in mm_get_unmapped_area()Ryan Roberts1-5/+3
2025-11-16convert ramfs and tmpfsAl Viro1-30/+8
2025-11-12shmem: fix tmpfs reconfiguration (remount) when noswap is setMike Yuan1-8/+7
2025-11-09mm/shmem: fix THP allocation and fallback loopKairui Song1-3/+6
2025-10-31mm: Use folio_next_pos()Matthew Wilcox (Oracle)1-1/+1
2025-10-02Merge tag 'mm-stable-2025-10-01-19-00' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-100/+39
2025-09-21mm/shmem: remove unused entry_order after large swapin reworkJackie Liu1-7/+4
2025-09-21mm, swap: use the swap table for the swap cache and switch APIKairui Song1-4/+4
2025-09-21mm, swap: wrap swap cache replacement with a helperKairui Song1-9/+2
2025-09-21mm/shmem, swap: remove redundant error handling for replacing folioKairui Song1-25/+7
2025-09-21mm, swap: cleanup swap cache API and add kerneldocKairui Song1-5/+5
2025-09-21mm, swap: use unified helper for swap cache look upKairui Song1-1/+3
2025-09-21mm: shmem: fix the strategy for the tmpfs 'huge=' optionsBaolin Wang1-42/+5
2025-09-21mm: constify shmem related test functions for improved const-correctnessMax Kellermann1-3/+3
2025-09-15fs: rename generic_delete_inode() and generic_drop_inode()Mateusz Guzik1-1/+1
2025-09-13mm: shmem: drop the unnecessary folio_nr_pages()Baolin Wang1-1/+0
2025-09-13mm: shmem: use 'folio' for shmem_partial_swap_usage()Baolin Wang1-4/+4
2025-09-13tmpfs: preserve SB_I_VERSION on remountBaokun Li1-1/+4
2025-09-13mm/huge_memory: respect MADV_COLLAPSE with PR_THP_DISABLE_EXCEPT_ADVISEDDavid Hildenbrand1-1/+1
2025-08-05Merge tag 'mm-stable-2025-08-03-12-35' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-125/+154
2025-08-02mm/shmem, swap: fix major fault countingKairui Song1-7/+5
2025-08-02mm/shmem, swap: rework swap entry and index calculation for large swapinKairui Song1-34/+33
2025-08-02mm/shmem, swap: simplify swapin path and result handlingKairui Song1-26/+19
2025-08-02mm/shmem, swap: never use swap cache and readahead for SWP_SYNCHRONOUS_IOKairui Song1-13/+28
2025-08-02mm/shmem, swap: tidy up swap entry splittingKairui Song1-33/+23
2025-08-02mm/shmem, swap: tidy up THP swapin checksKairui Song1-21/+18
2025-08-02mm/shmem, swap: avoid redundant Xarray lookup during swapinKairui Song1-9/+25
2025-08-02mm: shmem: fix the shmem large folio allocation for the i915 driverBaolin Wang1-2/+2
2025-08-02mm/shmem, swap: improve cached mTHP handling and fix potential hangKairui Song1-9/+30
2025-07-31Merge tag 'mm-stable-2025-07-30-15-25' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-40/+72
2025-07-28Merge tag 'vfs-6.17-rc1.fileattr' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-2/+2
2025-07-28Merge tag 'vfs-6.17-rc1.misc' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-6/+6
2025-07-28Merge tag 'pull-dcache' of git://git.kernel.org/pub/scm/linux/kernel/git/viro...Linus Torvalds1-2/+2
2025-07-24mm/shmem: writeout free swap if swap_writeout() reactivatesHugh Dickins1-1/+30
2025-07-24mm/shmem: hold shmem_swaplist spinlock (not mutex) much lessHugh Dickins1-26/+33
2025-07-16fs: change write_begin/write_end interface to take struct kiocb *Taotao Chen1-6/+6
2025-07-09mm: update core kernel code to use vm_flags_t consistentlyLorenzo Stoakes1-3/+3
2025-07-09mm: stop passing a writeback_control structure to swap_writeoutChristoph Hellwig1-9/+1
2025-07-09mm: stop passing a writeback_control structure to shmem_writeoutChristoph Hellwig1-11/+15
2025-07-04tree-wide: s/struct fileattr/struct file_kattr/gChristian Brauner1-2/+2
2025-06-19mm/shmem, swap: fix softlockup with mTHP swapinKairui Song1-1/+5
2025-06-11shmem: no dentry retention past the refcount reaching zeroAl Viro1-1/+1
2025-06-10new helper: set_default_d_op()Al Viro1-1/+1
2025-06-02Merge tag 'mm-stable-2025-06-01-14-06' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-10/+13
2025-05-31mm/shmem: remove unneeded xa_is_value() check in shmem_unuse_swap_entries()Kemeng Shi1-2/+0
2025-05-31mm: shmem: only remove inode from swaplist when it's swapped page count is 0Kemeng Shi1-2/+2
2025-05-31mm/shmem: fix potential dead loop in shmem_unuse()Kemeng Shi1-3/+6
2025-05-31mm: shmem: add missing shmem_unacct_size() in __shmem_file_setup()Kemeng Shi1-3/+3
2025-05-31mm: shmem: avoid unpaired folio_unlock() in shmem_swapin_folio()Kemeng Shi1-0/+2
2025-04-07mm: Remove swap_writepage() and shmem_writepage()Matthew Wilcox (Oracle)1-18/+5
2025-04-07shmem: Add shmem_writeout()Matthew Wilcox (Oracle)1-6/+14
2025-04-01Merge tag 'mm-stable-2025-03-30-16-52' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-90/+77
2025-03-24Merge tag 'vfs-6.15-rc1.async.dir' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-4/+4
2025-03-21mm/hwpoison: introduce folio_contain_hwpoisoned_page() helperJinjiang Tu1-2/+1
2025-03-17mm/shmem: fix functions documentationEnrico Bravi1-3/+3
2025-03-17mm/shmem: use xas_try_split() in shmem_split_large_entry()Zi Yan1-31/+28
2025-03-17mm: shmem: factor out the within_size logic into a new helperBaolin Wang1-26/+27
2025-03-17mm: shmem: change the return value of shmem_find_swap_entries()Baolin Wang1-6/+6
2025-03-17mm: shmem: remove duplicate error validationBaolin Wang1-3/+3
2025-03-17mm: shmem: remove 'fadvise()' commentsBaolin Wang1-2/+2
2025-03-17mm: shmem: drop the unused macroBaolin Wang1-1/+0
2025-03-16mm, swap: simplify folio swap allocationKairui Song1-15/+6
2025-03-16mm: memcontrol: move memsw charge callbacks to v1Johannes Weiner1-1/+1
2025-03-08Merge tag 'mm-hotfixes-stable-2025-03-08-16-27' of git://git.kernel.org/pub/s...Linus Torvalds1-5/+28
2025-03-06fs/pipe: add simpler helpers for common casesLinus Torvalds1-3/+3
2025-03-05mm: shmem: remove unnecessary warning in shmem_writepage()Ricardo Cañuelo Navarro1-1/+1
2025-03-05mm: shmem: fix potential data corruption during shmem swapinBaolin Wang1-4/+27
2025-02-27Change inode_operations.mkdir to return struct dentry *NeilBrown1-4/+4
2025-01-26Merge tag 'mm-stable-2025-01-26-14-59' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-82/+249
2025-01-25mm: shmem: skip swapcache for swapin of synchronous swap deviceBaolin Wang1-5/+105
2025-01-20Merge tag 'vfs-6.14-rc1.libfs' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-2/+2
2025-01-20Merge tag 'vfs-6.14-rc1.misc' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-2/+4
2025-01-15mm: shmem: use signed int for version handling in casefold optionKaran Sanghavi1-1/+1
2025-01-13mm: perform all memfd seal checks in a single placeLorenzo Stoakes1-6/+0
2025-01-13mm/shmem: refactor to reuse vfs_parse_monolithic_sep for option parsingGuo Weikang1-38/+27
2025-01-13mm: shmem: add a kernel command line to change the default huge policy for tmpfsBaolin Wang1-1/+22
2025-01-13mm: shmem: add large folio support for tmpfsBaolin Wang1-18/+81
2025-01-13mm: shmem: change shmem_huge_global_enabled() to return huge order bitmapBaolin Wang1-20/+20
2025-01-04Revert "libfs: Add simple_offset_empty()"Chuck Lever1-2/+2
2024-12-30mm: shmem: fix the update of 'shmem_falloc->nr_unswapped'Baolin Wang1-1/+1
2024-12-30mm: shmem: fix incorrect index alignment for within_size policyBaolin Wang1-2/+3
2024-12-22tmpfs: use inode_set_cached_link()Mateusz Guzik1-2/+4
2024-12-18mm: shmem: fix ShmemHugePages at swapoutHugh Dickins1-10/+12
2024-11-23Merge tag 'mm-stable-2024-11-18-19-27' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-89/+256
2024-11-18Merge tag 'vfs-6.13.tmpfs' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-10/+255
2024-11-18Merge tag 'vfs-6.13.mgtime' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-1/+1
2024-11-16mm: revert "mm: shmem: fix data-race in shmem_getattr()"Andrew Morton1-2/+0
2024-11-11mm: shmem: override mTHP shmem default with a kernel parameterMaíra Canal1-1/+104
2024-11-11mm: shmem: control THP support through the kernel command lineMaíra Canal1-23/+49
2024-11-06mm: shmem: fallback to page size splice if large folio has poisoned pagesBaolin Wang1-8/+30
2024-11-06mm: shmem: improve the tmpfs large folio read performanceBaolin Wang1-10/+24
2024-11-06mm: shmem: update iocb->ki_pos directly to simplify tmpfs read logicBaolin Wang1-24/+11
2024-11-06mm: shmem: remove __shmem_huge_global_enabled()Kefeng Wang1-23/+10
2024-11-06tmpfs: don't enable large folios if not supportedKefeng Wang1-1/+4
2024-11-06tmpfs: Initialize sysfs during tmpfs initAndré Almeida1-62/+68
2024-11-06tmpfs: Fix type for sysfs' casefold attributeAndré Almeida1-2/+27
2024-11-05mm: shmem: fix khugepaged activation policy for shmemBaolin Wang1-2/+27
2024-11-05mm: refactor arch_calc_vm_flag_bits() and arm64 MTE handlingLorenzo Stoakes1-3/+0
2024-10-28mm: shmem: fix data-race in shmem_getattr()Jeongjun Park1-0/+2
2024-10-28tmpfs: Expose filesystem features via sysfsAndré Almeida1-0/+37
2024-10-28tmpfs: Add flag FS_CASEFOLD_FL support for tmpfs dirsAndré Almeida1-6/+64
2024-10-28tmpfs: Add casefold lookup supportAndré Almeida1-4/+123
2024-10-17mm: huge_memory: add vma_thp_disabled() and thp_disabled_by_hw()Kefeng Wang1-6/+1
2024-10-10Merge patch series "timekeeping/fs: multigrain timestamp redux"Christian Brauner1-1/+1
2024-10-10tmpfs: add support for multigrain timestampsJeff Layton1-1/+1
2024-09-23Merge tag 'fs_for_v6.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-6/+1
2024-09-21Merge tag 'mm-stable-2024-09-20-02-31' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-151/+299
2024-09-16Merge tag 'vfs-6.12.folio' of gitolite.kernel.org:pub/scm/linux/kernel/git/vf...Linus Torvalds1-6/+5
2024-09-09mm: replace xa_get_order with xas_get_order where appropriateShakeel Butt1-1/+1
2024-09-09mm,tmpfs: consider end of file write in shmem_is_hugeRik van Riel1-28/+31
2024-09-09mm: shmem: extend shmem_unused_huge_shrink() to all sizesHugh Dickins1-25/+20
2024-09-09mm: shmem: fix minor off-by-one in shrinkable calculationHugh Dickins1-1/+1
2024-09-09mm: cleanup count_mthp_stat() definitionRyan Roberts1-6/+0
2024-09-03mm: remove PageSwapCacheMatthew Wilcox (Oracle)1-5/+6
2024-09-03mm: shmem: support large folio swap outBaolin Wang1-6/+22
2024-09-03mm: shmem: split large entry if the swapin folio is not largeBaolin Wang1-0/+103
2024-09-03mm: shmem: drop folio reference count using 'nr_pages' in shmem_delete_from_p...Baolin Wang1-1/+1
2024-09-03mm: shmem: support large folio allocation for shmem_replace_folio()Baolin Wang1-28/+46
2024-09-03mm: shmem: use swap_free_nr() to free shmem swap entriesBaolin Wang1-6/+10
2024-09-03mm: shmem: return number of pages beeing freed in shmem_free_swapDaniel Gomez1-9/+16
2024-09-03mm: shmem: extend shmem_partial_swap_usage() to support large folio swapBaolin Wang1-1/+1
2024-09-03mm: swap: extend swap_shmem_alloc() to support batch SWAP_MAP_SHMEM flag settingBaolin Wang1-2/+4
2024-09-01mm: shmem: move shmem_huge_global_enabled() into shmem_allowable_huge_orders()Baolin Wang1-17/+30
2024-09-01mm: shmem: rename shmem_is_huge() to shmem_huge_global_enabled()Baolin Wang1-7/+8
2024-09-01mm: shmem: simplify the suitable huge orders validation for tmpfsBaolin Wang1-24/+15
2024-08-07mm: shmem: fix incorrect aligned index when checking conflictsBaolin Wang1-3/+4
2024-08-07mm: shmem: avoid allocating huge pages larger than MAX_PAGECACHE_ORDER for shmemBaolin Wang1-6/+1
2024-08-07fs: Convert aops->write_begin to take a folioMatthew Wilcox (Oracle)1-4/+4
2024-08-07fs: Convert aops->write_end to take a folioMatthew Wilcox (Oracle)1-2/+1
2024-07-22quota: remove unneeded return value of register_quota_formatKemeng Shi1-6/+1
2024-07-21Merge tag 'mm-stable-2024-07-21-14-50' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-61/+298
2024-07-15Merge tag 'vfs-6.11.mount.api' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-8/+4
2024-07-15Merge tag 'vfs-6.11.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vf...Linus Torvalds1-3/+6
2024-07-12mm: shmem: rename mTHP shmem countersRyan Roberts1-4/+4
2024-07-12mm: thp: support "THPeligible" semantics for mTHP with anonymous shmemBang Li1-8/+1
2024-07-10mm/shmem: fix input and output inconsistenciesBang Li1-1/+1
2024-07-06Merge branch 'mm-hotfixes-stable' into mm-stable to pick up "mm: fixAndrew Morton1-2/+13
2024-07-03mm/shmem: disable PMD-sized page cache if neededGavin Shan1-2/+13
2024-07-03mm: shmem: add mTHP counters for anonymous shmemBaolin Wang1-3/+15
2024-07-03mm: shmem: add mTHP size alignment in shmem_get_unmapped_areaBaolin Wang1-9/+31
2024-07-03mm: shmem: add mTHP support for anonymous shmemBaolin Wang1-30/+157
2024-07-03mm: shmem: add multi-size THP sysfs interface for anonymous shmemBaolin Wang1-0/+96
2024-07-03mm: shmem: add THP validation for PMD-mapped THP related statisticsBaolin Wang1-3/+4
2024-07-03mm/swap: reduce swap cache search spaceKairui Song1-1/+1
2024-07-03mm: shmem: use folio_alloc_mpol() in shmem_alloc_folio()Kefeng Wang1-23/+9
2024-07-02tmpfs: Convert to new uid/gid option parsing helpersEric Sandeen1-8/+4
2024-06-15mm: shmem: fix getting incorrect lruvec when replacing a shmem folioBaolin Wang1-1/+1
2024-06-03tmpfs: don't interrupt fallocate with EINTRMikulas Patocka1-3/+6
2024-05-19Merge tag 'mm-stable-2024-05-17-19-19' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-7/+6
2024-05-13Merge tag 'vfs-6.10.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vf...Linus Torvalds1-2/+1
2024-04-25mm: switch mm->get_unmapped_area() to a flagRick Edgecombe1-6/+5
2024-04-25arm64: mm: swap: support THP_SWAP on hardware with MTEBarry Song1-1/+1
2024-04-17libfs: Add simple_offset_rename() APIChuck Lever1-2/+1
2024-04-16mm/shmem: inline shmem_is_huge() for disabled transparent hugepagesSumanth Korikkar1-6/+0
2024-03-14Merge tag 'mm-stable-2024-03-13-20-04' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-0/+18
2024-03-13Merge tag 'fs_for_v6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-1/+1
2024-03-13Merge tag 'xfs-6.9-merge-8' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linuxLinus Torvalds1-5/+37
2024-03-11Merge tag 'vfs-6.9.uuid' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs...Linus Torvalds1-1/+3
2024-02-29mm/shmem.c: Use new form of *@param in kernel-docAkira Yokosawa1-2/+2
2024-02-23shmem: properly report quota mount optionsJan Kara1-0/+18
2024-02-21libfs: Add simple_offset_empty()Chuck Lever1-2/+2
2024-02-21shmem: document how to "persist" data when using shmem_*file_setupChristoph Hellwig1-0/+4
2024-02-21shmem: export shmem_kernel_file_setupChristoph Hellwig1-0/+1
2024-02-21shmem: export shmem_get_folioChristoph Hellwig1-0/+20
2024-02-21shmem: move the shmem_mapping assert into shmem_get_folio_gfpChristoph Hellwig1-1/+3
2024-02-21shmem: set a_ops earlier in shmem_symlinkChristoph Hellwig1-1/+1
2024-02-21shmem: move shmem_mapping out of lineChristoph Hellwig1-3/+8
2024-02-08fs: super_set_uuid()Kent Overstreet1-1/+3
2024-02-08quota: Properly annotate i_dquot arrays with __rcuJan Kara1-1/+1
2024-01-10Merge tag 'header_cleanup-2024-01-10' of https://evilpiepirate.org/git/bcachefsLinus Torvalds1-0/+1
2023-12-29zswap: memcontrol: implement zswap writeback disablingNhat Pham1-2/+1
2023-12-29mm: convert swap_cluster_readahead and swap_vma_readahead to return a folioMatthew Wilcox (Oracle)1-5/+3
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-1/+18
2023-12-12mm/shmem: fix race in shmem_undo_range w/THPDavid Stevens1-1/+18
2023-12-10fs: convert error_remove_page to error_remove_folioMatthew Wilcox (Oracle)1-3/+3
2023-11-02Merge tag 'mm-nonmm-stable-2023-11-02-14-08' of git://git.kernel.org/pub/scm/...Linus Torvalds1-4/+4
2023-11-02Merge tag 'mm-stable-2023-11-01-14-33' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-294/+294
2023-10-30Merge tag 'vfs-6.7.ctime' of gitolite.kernel.org:pub/scm/linux/kernel/git/vfs...Linus Torvalds1-10/+10
2023-10-30Merge tag 'vfs-6.7.xattr' of gitolite.kernel.org:pub/scm/linux/kernel/git/vfs...Linus Torvalds1-1/+1
2023-10-25mempolicy: alloc_pages_mpol() for NUMA policy without vmaHugh Dickins1-41/+51
2023-10-18treewide: mark stuff as __ro_after_initAlexey Dobriyan1-4/+4
2023-10-18mm: update memfd seal write check to include F_SEAL_WRITELorenzo Stoakes1-1/+1
2023-10-18shmem,percpu_counter: add _limited_add(fbc, limit, amount)Hugh Dickins1-5/+5