aboutsummaryrefslogtreecommitdiffstats
path: root/mm/shmem.c
AgeCommit message (Expand)AuthorFilesLines
2024-10-17mm: huge_memory: add vma_thp_disabled() and thp_disabled_by_hw()Kefeng Wang1-6/+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
2023-01-19fs: port xattr to mnt_idmapChristian Brauner1-1/+1
2023-01-19fs: port ->fileattr_set() to pass mnt_idmapChristian Brauner1-1/+1
2023-01-19fs: port ->set_acl() to pass mnt_idmapChristian Brauner1-1/+1
2023-01-19fs: port ->tmpfile() to pass mnt_idmapChristian Brauner1-1/+1
2023-01-19fs: port ->rename() to pass mnt_idmapChristian Brauner1-3/+3
2023-01-19fs: port ->mknod() to pass mnt_idmapChristian Brauner1-4/+4
2023-01-19fs: port ->mkdir() to pass mnt_idmapChristian Brauner1-1/+1
2023-01-19fs: port ->symlink() to pass mnt_idmapChristian Brauner1-1/+1
2023-01-19fs: port ->create() to pass mnt_idmapChristian Brauner1-1/+1
2023-01-19fs: port ->getattr() to pass mnt_idmapChristian Brauner1-2/+2
2023-01-19fs: port ->setattr() to pass mnt_idmapChristian Brauner1-3/+3
2023-01-18swap: avoid holding swap reference in swap_cache_get_folioKairui Song1-0/+11
2023-01-18mm/memfd: add F_SEAL_EXECDaniel Verkamp1-0/+6
2023-01-11mm/shmem: restore SHMEM_HUGE_DENY precedence over MADV_COLLAPSEZach O'Keefe1-4/+2
2022-12-13Merge tag 'mm-stable-2022-12-13' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-20/+34
2022-12-13Merge tag 'fs.xattr.simple.rework.rbtree.rwlock.v6.2' of git://git.kernel.org...Linus Torvalds1-1/+1
2022-12-12Merge tag 'fs.acl.rework.v6.2' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-1/+1
2022-12-09Merge branch 'mm-hotfixes-stable' into mm-stableAndrew Morton1-0/+11
2022-12-09tmpfs: fix data loss from failed fallocateHugh Dickins1-0/+11
2022-11-30mm: anonymous shared memory namingPasha Tatashin1-4/+25
2022-11-30mm: use pte markers for swap errorsPeter Xu1-1/+1
2022-11-12xattr: use rbtree for simple_xattrsChristian Brauner1-1/+1
2022-11-08tmpfs: ensure O_LARGEFILE with generic_file_open()Thomas Weißschuh1-0/+1
2022-11-08mm/shmem: remove unneeded assignments in shmem_get_folio_gfp()Lukas Bulwahn1-2/+1
2022-11-08filemap: find_get_entries() now updates start offsetVishal Moola (Oracle)1-7/+4
2022-11-08filemap: find_lock_entries() now updates start offsetVishal Moola (Oracle)1-6/+2
2022-10-28mm/shmem: ensure proper fallback if page faultsIra Weiny1-0/+17
2022-10-19fs: pass dentry to set acl methodChristian Brauner1-1/+1
2022-10-11treewide: use get_random_u32() when possibleJason A. Donenfeld1-1/+1
2022-10-10Merge tag 'pull-tmpfile' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-3/+3
2022-10-03mm/shmem: add flag to enforce shmem THP in hugepage_vma_check()Zach O'Keefe1-8/+10
2022-10-03tmpfs: add support for an i_version counterJeff Layton1-3/+28
2022-10-03shmem: remove shmem_getpage()Matthew Wilcox (Oracle)1-14/+1
2022-10-03khugepaged: call shmem_get_folio()Matthew Wilcox (Oracle)1-2/+2
2022-10-03shmem: convert shmem_get_link() to use a folioMatthew Wilcox (Oracle)1-16/+17
2022-10-03shmem: convert shmem_symlink() to use a folioMatthew Wilcox (Oracle)1-7/+7
2022-10-03shmem: convert shmem_fallocate() to use a folioMatthew Wilcox (Oracle)1-19/+17
2022-10-03shmem: convert shmem_file_read_iter() to use shmem_get_folio()Matthew Wilcox (Oracle)1-9/+11
2022-10-03shmem: convert shmem_write_begin() to use shmem_get_folio()Matthew Wilcox (Oracle)1-3/+5
2022-10-03shmem: convert shmem_get_partial_folio() to use shmem_get_folio()Matthew Wilcox (Oracle)1-5/+4
2022-10-03shmem: add shmem_get_folio()Matthew Wilcox (Oracle)1-13/+10
2022-10-03shmem: convert shmem_read_mapping_page_gfp() to use shmem_get_folio_gfp()Matthew Wilcox (Oracle)1-3/+5
2022-10-03shmem: convert shmem_fault() to use shmem_get_folio_gfp()Matthew Wilcox (Oracle)1-1/+4
2022-10-03shmem: convert shmem_getpage_gfp() to shmem_get_folio_gfp()Matthew Wilcox (Oracle)1-29/+41
2022-10-03shmem: eliminate struct page from shmem_swapin_folio()Matthew Wilcox (Oracle)1-8/+8
2022-10-03shmem: convert shmem_replace_page() to shmem_replace_folio()Matthew Wilcox (Oracle)1-5/+4
2022-10-03shmem: convert shmem_mfill_atomic_pte() to use a folioMatthew Wilcox (Oracle)1-26/+19
2022-10-03mm/swap: convert put_swap_page() to put_swap_folio()Matthew Wilcox (Oracle)1-1/+1
2022-10-03mm/swap: convert add_to_swap_cache() to take a folioMatthew Wilcox (Oracle)1-1/+1
2022-10-03shmem: convert shmem_replace_page() to use folios throughoutMatthew Wilcox (Oracle)1-35/+32
2022-10-03shmem: convert shmem_delete_from_page_cache() to take a folioMatthew Wilcox (Oracle)1-12/+11
2022-10-03shmem: convert shmem_writepage() to use a folio throughoutMatthew Wilcox (Oracle)1-23/+24
2022-10-03mm: add split_folio()Matthew Wilcox (Oracle)1-1/+1
2022-09-24vfs: open inside ->tmpfile()Miklos Szeredi1-3/+3
2022-08-28shmem: update folio if shmem_replace_page() updates the pageMatthew Wilcox (Oracle)1-0/+1