aboutsummaryrefslogtreecommitdiffstats
path: root/mm/shmem.c
AgeCommit message (Expand)AuthorFilesLines
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
2022-08-20mm/shmem: shmem_replace_page() remember NR_SHMEMHugh Dickins1-0/+2
2022-08-20mm/shmem: tmpfs fallocate use file_modified()Hugh Dickins1-1/+2
2022-08-20mm/shmem: fix chattr fsflags support in tmpfsHugh Dickins1-23/+31
2022-08-08Merge tag 'pull-work.iov_iter-rebased' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-1/+1
2022-08-08new iov_iter flavour - ITER_UBUFAl Viro1-1/+1
2022-08-05Merge tag 'mm-stable-2022-08-03' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-8/+70
2022-08-03Merge tag 'folio-6.0' of git://git.infradead.org/users/willy/pagecacheLinus Torvalds1-10/+9
2022-08-02mm/migrate: Convert migrate_page() to migrate_folio()Matthew Wilcox (Oracle)1-1/+1
2022-07-29mm/shmem: support FS_IOC_[SG]ETFLAGS in tmpfsTheodore Ts'o1-1/+63
2022-07-18tmpfs: fix the issue that the mount and remount results are inconsistent.ZhaoLong Wang1-5/+2
2022-07-03mm/swap: convert delete_from_swap_cache() to take a folioMatthew Wilcox (Oracle)1-2/+2
2022-06-29shmem: Convert shmem_unlock_mapping() to use filemap_get_folios()Matthew Wilcox (Oracle)1-7/+6
2022-06-29filemap: Remove add_to_page_cache() and add_to_page_cache_locked()Matthew Wilcox (Oracle)1-1/+1
2022-06-29mm: Remove __delete_from_page_cache()Matthew Wilcox (Oracle)1-1/+1
2022-06-16mm/shmem.c: clean up comment of shmem_swapin_folioMiaohe Lin1-5/+5
2022-05-27Merge tag 'mm-stable-2022-05-27' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-1/+40
2022-05-27mm/shmem.c: suppress shift warningAndrew Morton1-1/+1
2022-05-27mm/shmem: fix infinite loop when swap in shmem error at swapoff timeMiaohe Lin1-0/+39
2022-05-26Merge tag 'mm-stable-2022-05-25' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-185/+168
2022-05-25mm/shmem: fix shmem folio swapoff hangHugh Dickins1-2/+1
2022-05-19tmpfs: fix undefined-behaviour in shmem_reconfigure()Luo Meng1-0/+4
2022-05-19mm: mmap: register suitable readonly file vmas for khugepagedYang Shi1-4/+0
2022-05-19mm: khugepaged: introduce khugepaged_enter_vma() helperYang Shi1-10/+2
2022-05-13mm/shmem: convert shmem_swapin_page() to shmem_swapin_folio()Matthew Wilcox (Oracle)1-59/+51
2022-05-13mm/shmem: convert shmem_getpage_gfp to use a folioMatthew Wilcox (Oracle)1-52/+43
2022-05-13mm/shmem: convert shmem_alloc_and_acct_page to use a folioMatthew Wilcox (Oracle)1-9/+9
2022-05-13mm/shmem: add shmem_alloc_folio()Matthew Wilcox (Oracle)1-4/+10
2022-05-13mm/shmem: turn shmem_should_replace_page into shmem_should_replace_folioMatthew Wilcox (Oracle)1-4/+4
2022-05-13mm/shmem: convert shmem_add_to_page_cache to take a folioMatthew Wilcox (Oracle)1-26/+31
2022-05-13mm/shmem: use a folio in shmem_unused_huge_shrinkMatthew Wilcox (Oracle)1-11/+12
2022-05-13swap: turn get_swap_page() into folio_alloc_swap()Matthew Wilcox (Oracle)1-1/+2
2022-05-13shmem: convert shmem_alloc_hugepage() to use vma_alloc_folio()Matthew Wilcox (Oracle)1-6/+4
2022-05-13mm/shmem: take care of UFFDIO_COPY_MODE_WPPeter Xu1-2/+2
2022-05-09mm: create new mm/swap.h header fileNeilBrown1-0/+1
2022-05-09mm,fs: Remove aops->readpageMatthew Wilcox (Oracle)1-1/+1
2022-05-08fs: Remove flags parameter from aops->write_beginMatthew Wilcox (Oracle)1-1/+1
2022-04-28mm: shmem: make shmem_init return voidMiaohe Lin1-6/+3
2022-04-15tmpfs: fix regressions from wider use of ZERO_PAGEHugh Dickins1-11/+20
2022-03-22Merge tag 'folio-5.18b' of git://git.infradead.org/users/willy/pagecacheLinus Torvalds1-1/+1
2022-03-22mm: shmem: fix missing cache flush in shmem_mfill_atomic_pte()Muchun Song1-1/+3
2022-03-22fs: allocate inode by using alloc_inode_sb()Muchun Song1-1/+1
2022-03-22mm: shmem: use helper macro __ATTR_RWMiaohe Lin1-2/+1
2022-03-22tmpfs: do not allocate pages on readHugh Dickins1-14/+6
2022-03-22shmem: mapping_set_exiting() to help mapped resilienceHugh Dickins1-0/+1
2022-03-22tmpfs: support for file creation timeXavier Roche1-3/+13
2022-03-16fs: Convert __set_page_dirty_no_writeback to noop_dirty_folioMatthew Wilcox (Oracle)1-1/+1
2022-01-22mm: simplify try_to_unuseChristoph Hellwig1-27/+6
2022-01-15Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-24/+67
2022-01-15mm: drop node from alloc_pages_vmaMichal Hocko1-2/+1