aboutsummaryrefslogtreecommitdiffstats
path: root/mm/shmem.c
AgeCommit message (Expand)AuthorFilesLines
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
2023-10-18shmem: _add_to_page_cache() before shmem_inode_acct_blocks()Hugh Dickins1-111/+118
2023-10-18shmem: move memcg charge out of shmem_add_to_page_cache()Hugh Dickins1-39/+29
2023-10-18shmem: shmem_acct_blocks() and shmem_inode_acct_blocks()Hugh Dickins1-7/+7
2023-10-18shmem: trivial tidyups, removing extra blank lines, etcHugh Dickins1-35/+21
2023-10-18shmem: factor shmem_falloc_wait() out of shmem_fault()Hugh Dickins1-57/+69
2023-10-18shmem: remove vma arg from shmem_get_folio_gfp()Hugh Dickins1-7/+6
2023-10-18mm: convert to new timestamp accessorsJeff Layton1-10/+10
2023-10-10shmem: move shmem_xattr_handlers to .rodataWedson Almeida Filho1-1/+1
2023-10-04mm/shmem: remove dead code can not be satisfied by "(CONFIG_SHMEM)&&(!(CONFIG...Ying Sun1-4/+0
2023-09-20Revert "tmpfs: add support for multigrain timestamps"Christian Brauner1-1/+1
2023-08-29Merge tag 'mm-stable-2023-08-28-18-26' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-8/+7
2023-08-28Merge tag 'v6.6-vfs.tmpfs' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-222/+603
2023-08-28Merge tag 'v6.6-vfs.ctime' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-15/+15
2023-08-24mm/swap: inline folio_set_swap_entry() and folio_swap_entry()David Hildenbrand1-3/+3
2023-08-24merge mm-hotfixes-stable into mm-stable to pick up depended-upon changesAndrew Morton1-2/+4
2023-08-24shmem: fix smaps BUG sleeping while atomicHugh Dickins1-2/+4
2023-08-22tmpfs,xattr: GFP_KERNEL_ACCOUNT for simple xattrsHugh Dickins1-1/+1
2023-08-21mm/shmem.c: use helper macro K()ZhangPeng1-2/+1
2023-08-18mm: make PTE_MARKER_SWAPIN_ERROR more generalAxel Rasmussen1-2/+2
2023-08-18mm: increase usage of folio_next_index() helperSidhartha Kumar1-1/+1
2023-08-11tmpfs: trivial support for direct IOHugh Dickins1-2/+30
2023-08-11tmpfs: add support for multigrain timestampsJeff Layton1-1/+1
2023-08-10tmpfs,xattr: enable limited user extended attributesHugh Dickins1-9/+69
2023-08-09tmpfs: track free_ispace instead of free_inodesHugh Dickins1-16/+17
2023-08-09xattr: simple_xattr_set() return old_xattr to be freedHugh Dickins1-4/+6
2023-08-09tmpfs: verify {g,u}id mount options correctlyChristian Brauner1-4/+24
2023-08-09shmem: move spinlock into shmem_recalc_inode() to fix quota supportHugh Dickins1-63/+44
2023-08-09shmem: stable directory offsetsChuck Lever1-7/+40
2023-08-09shmem: Refactor shmem_symlink()Chuck Lever1-10/+9
2023-08-09shmem: fix quota lock nesting in huge hole handlingHugh Dickins1-10/+9
2023-08-09shmem: Add default quota limit mount optionsLukas Czerner1-0/+61
2023-08-09shmem: quota supportCarlos Maiolino1-8/+178
2023-08-09shmem: make shmem_get_inode() return ERR_PTR instead of NULLCarlos Maiolino1-92/+119
2023-08-09shmem: make shmem_inode_acct_block() return errorLukas Czerner1-8/+10
2023-08-09fs: pass the request_mask to generic_fillattrJeff Layton1-1/+1
2023-07-27shmem: minor fixes to splice-read implementationHugh Dickins1-3/+6
2023-07-24shmem: convert to ctime accessor functionsJeff Layton1-10/+12
2023-07-10shmem: convert to simple_rename_timestampJeff Layton1-3/+1
2023-06-28Merge tag 'mm-stable-2023-06-24-19-15' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-2/+5
2023-06-19shmem: use ramfs_kill_sb() for kill_sb method of ramfs-based tmpfsRoberto Sassu1-1/+1
2023-06-09mm: shmem: fix UAF bug in shmem_show_options()Tu Jinjiang1-1/+4
2023-05-24shmem: Implement splice-readDavid Howells1-1/+133
2023-04-27Merge tag 'mm-stable-2023-04-27-15-30' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-50/+87
2023-04-27shmem: restrict noswap option to initial user namespaceChristian Brauner1-0/+4
2023-04-18userfaultfd: convert mfill_atomic() to use a folioZhangPeng1-8/+8
2023-04-05mm: userfaultfd: combine 'mode' and 'wp_copy' argumentsAxel Rasmussen1-4/+3
2023-04-05mm: userfaultfd: don't pass around both mm and vmaAxel Rasmussen1-4/+3
2023-04-05mm: return an ERR_PTR from __filemap_get_folioChristoph Hellwig1-2/+2
2023-04-05shmem: open code the page cache lookup in shmem_get_folio_gfpChristoph Hellwig1-4/+10
2023-04-05shmem: shmem_get_partial_folio use filemap_get_entryHugh Dickins1-5/+12
2023-03-28shmem: add support to ignore swapLuis Chamberlain1-1/+27
2023-03-28shmem: skip page split if we're not reclaimingLuis Chamberlain1-4/+6
2023-03-28shmem: move reclaim check early on writepages()Luis Chamberlain1-12/+10
2023-03-28shmem: set shmem_writepage() variables earlyLuis Chamberlain1-6/+3
2023-03-28shmem: remove check for folio lock on writepage()Luis Chamberlain1-1/+0
2023-03-06fs: drop unused posix acl handlersChristian Brauner1-4/+0
2023-02-23Merge tag 'mm-stable-2023-02-20-13-37' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-43/+62
2023-02-20Merge tag 'fs.idmapped.v6.3' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-30/+39
2023-02-09shmem: fix W=1 build warnings with CONFIG_SHMEM=nMatthew Wilcox (Oracle)1-1/+1
2023-02-09shmem: add shmem_read_folio() and shmem_read_folio_gfp()Matthew Wilcox (Oracle)1-12/+24
2023-02-09mm: replace vma->vm_flags direct modifications with modifier callsSuren Baghdasaryan1-1/+1
2023-02-02mm: fix khugepaged with shmem_enabled=adviseDavid Stevens1-9/+9
2023-02-02shmem: convert shmem_write_end() to use a folioMatthew Wilcox (Oracle)1-20/+10
2023-01-20shmem: support idmapped mounts for tmpfsGiuseppe Scrivano1-19/+28
2023-01-19fs: port inode_init_owner() to mnt_idmapChristian Brauner1-1/+1