aboutsummaryrefslogtreecommitdiffstats
path: root/mm/shmem.c
AgeCommit message (Expand)AuthorFilesLines
2020-06-09mmap locking API: convert mmap_sem commentsMichel Lespinasse1-2/+2
2020-06-09mm: don't include asm/pgtable.h if linux/mm.h is already includedMike Rapoport1-1/+0
2020-06-03mm: fold and remove lru_cache_add_anon() and lru_cache_add_file()Johannes Weiner1-3/+3
2020-06-03mm: memcontrol: delete unused lrucare handlingJohannes Weiner1-1/+1
2020-06-03mm: memcontrol: charge swapin pages on instantiationJohannes Weiner1-6/+8
2020-06-03mm: memcontrol: switch to native NR_FILE_PAGES and NR_SHMEM countersJohannes Weiner1-7/+7
2020-06-03mm: memcontrol: convert page cache to a new mem_cgroup_charge() APIJohannes Weiner1-43/+30
2020-06-03mm: shmem: remove rare optimization when swapin races with hole punchingJohannes Weiner1-18/+7
2020-06-03mm: memcontrol: drop @compound parameter from memcg charging APIJohannes Weiner1-13/+9
2020-04-21mm: shmem: disable interrupt when acquiring info->lock in userfaultfd_copy pathYang Shi1-2/+2
2020-04-21shmem: fix possible deadlocks on shmlock_user_lockHugh Dickins1-2/+5
2020-04-21mm/shmem: fix build without THPHugh Dickins1-1/+1
2020-04-07mm: use fallthrough;Joe Perches1-1/+1
2020-04-07mm: huge tmpfs: try to split_huge_page() when punching holeHugh Dickins1-55/+43
2020-04-07mm/shmem.c: clean code by removing unnecessary assignmentMateusz Nosek1-6/+3
2020-04-07mm/shmem.c: distribute switch variables for initializationKees Cook1-4/+7
2020-04-07mm: remove CONFIG_TRANSPARENT_HUGE_PAGECACHEMatthew Wilcox (Oracle)1-17/+17
2020-04-07mm, thp: track fallbacks due to failed memcg charges separatelyDavid Rientjes1-1/+3
2020-04-07mm, shmem: add vmstat for hugepage fallbackDavid Rientjes1-4/+6
2020-04-03Merge branch 'for-5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cg...Linus Torvalds1-1/+1
2020-03-16kernfs: Add removed_size out param for simple_xattr_setDaniel Xu1-1/+1
2020-02-18tmpfs: deny and force are not huge mount optionsHugh Dickins1-2/+0
2020-02-07tmpfs: switch to use of invalfc()Al Viro1-3/+3
2020-02-07fs_parse: fold fs_parameter_desc/fs_parameter_specAl Viro1-8/+4
2020-02-07fs_parser: remove fs_parameter_description name fieldEric Sandeen1-1/+0
2020-02-07fold struct fs_parameter_enum into struct constant_tableAl Viro1-1/+1
2020-02-07fs_parse: get rid of ->enumsAl Viro1-10/+11
2020-01-13mm/shmem.c: thp, shmem: fix conflict of above-47bit hint address and PMD alig...Kirill A. Shutemov1-3/+4
2019-12-01mm/shmem.c: cast the type of unmap_start to u64Chen Jun1-1/+1
2019-12-01mm: shmem: use proper gfp flags for shmem_writepage()Yang Shi1-1/+2
2019-12-01mm/shmem.c: make array 'values' static const, makes object smallerColin Ian King1-1/+1
2019-12-01mm, memfd: fix COW issue on MAP_PRIVATE and F_SEAL_FUTURE_WRITE mappingsNicolas Geoffray1-4/+7
2019-12-01shmem: pin the file in shmem_fault() if mmap_sem is droppedKirill A. Shutemov1-5/+6
2019-10-10Merge branch 'work.mount3' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-0/+6
2019-10-09shmem: fix LSM options parsingAl Viro1-0/+6
2019-09-28Merge branch 'hugepage-fallbacks' (hugepatch patches from David Rientjes)Linus Torvalds1-1/+1
2019-09-28Revert "Revert "Revert "mm, thp: consolidate THP gfp handling into alloc_huge...David Rientjes1-1/+1
2019-09-24shmem: fix obsolete comment in shmem_getpage_gfp()Miles Chen1-1/+1
2019-09-24mm: page cache: store only head pages in i_pagesMatthew Wilcox (Oracle)1-1/+1
2019-09-24mm: introduce compound_nr()Matthew Wilcox (Oracle)1-4/+4
2019-09-12vfs: Convert ramfs, shmem, tmpfs, devtmpfs, rootfs to use the new mount APIDavid Howells1-79/+108
2019-09-12shmem_parse_one(): switch to use of fs_parse()Al Viro1-67/+116
2019-09-12shmem_parse_options(): take handling a single option into a helperAl Viro1-69/+79
2019-09-12shmem_parse_options(): don't bother with mpol in separate variableAl Viro1-6/+5
2019-09-12shmem_parse_options(): use a separate structure to keep the resultsAl Viro1-43/+67
2019-09-05make shmem_fill_super() staticAl Viro1-2/+2
2019-08-13Revert "Revert "mm, thp: consolidate THP gfp handling into alloc_hugepage_dir...Andrea Arcangeli1-1/+1
2019-07-19Merge branch 'work.mount0' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-4/+0
2019-07-18mm: thp: fix false negative of shmem vma's THP eligibilityYang Shi1-0/+3
2019-07-16mm/shmem.c: fix unused shmem_parse_huge() function warningArnd Bergmann1-1/+3
2019-07-05Revert "mm: page cache: store only head pages in i_pages"Linus Torvalds1-1/+1
2019-07-04mnt_init(): call shmem_init() unconditionallyAl Viro1-4/+0
2019-05-14mm: page cache: store only head pages in i_pagesMatthew Wilcox1-1/+1
2019-05-07Merge branch 'work.icache' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-3/+2
2019-05-01shmem: make use of ->free_inode()Al Viro1-3/+2
2019-04-19mm: swapoff: shmem_unuse() stop eviction without igrab()Hugh Dickins1-22/+18
2019-04-19mm: swapoff: shmem_find_swap_entries() filter out other typesHugh Dickins1-9/+9
2019-03-05mm/memfd: add an F_SEAL_FUTURE_WRITE seal to memfdJoel Fernandes (Google)1-3/+22
2019-03-05mm: rid swapoff of quadratic complexityVineeth Remanan Pillai1-120/+147
2019-03-05mm: refactor swap-in logic out of shmem_getpage_gfpVineeth Remanan Pillai1-205/+244
2019-02-25tmpfs: fix uninitialized return value in shmem_linkDarrick J. Wong1-1/+1
2019-02-21tmpfs: fix link accounting when a tmpfile is linked inDarrick J. Wong1-3/+7
2018-12-28mm: convert totalram_pages and totalhigh_pages variables to atomicArun KS1-4/+5
2018-12-28mm: reference totalram_pages and managed_pages once per functionArun KS1-1/+2
2018-12-25Merge tag 'drm-next-2018-12-14' of git://anongit.freedesktop.org/drm/drmLinus Torvalds1-1/+1
2018-12-13Merge tag 'xarray-4.20-rc7' of git://git.infradead.org/users/willy/linux-daxLinus Torvalds1-3/+1
2018-12-08Revert "mm, thp: consolidate THP gfp handling into alloc_hugepage_direct_gfpm...David Rientjes1-1/+1
2018-12-06XArray: Add xa_cmpxchg_irq and xa_cmpxchg_bhMatthew Wilcox1-3/+1
2018-11-30mm/khugepaged: fix crashes due to misaccounted holesHugh Dickins1-1/+5
2018-11-30userfaultfd: shmem: UFFDIO_COPY: set the page dirty if VM_WRITE is not setAndrea Arcangeli1-0/+11
2018-11-30userfaultfd: shmem: add i_size checksAndrea Arcangeli1-2/+16
2018-11-30userfaultfd: use ENOENT instead of EFAULT if the atomic copy user failsAndrea Arcangeli1-1/+1
2018-11-30mm: use swp_offset as key in shmem_replace_page()Yu Zhao1-2/+4
2018-11-20Merge drm/drm-next into drm-intel-next-queuedJani Nikula1-124/+75
2018-11-18tmpfs: make lseek(SEEK_DATA/SEK_HOLE) return ENXIO with a negative offsetYufen Yu1-3/+1
2018-11-07mm, drm/i915: mark pinned shmemfs pages as unevictableKuo-Hsin Yang1-1/+1
2018-11-03mm, thp: consolidate THP gfp handling into alloc_hugepage_direct_gfpmaskMichal Hocko1-1/+1
2018-10-21shmem: Comment fixupsMatthew Wilcox1-6/+6
2018-10-21shmem: Convert shmem_partial_swap_usage to XArrayMatthew Wilcox1-14/+4
2018-10-21shmem: Convert shmem_free_swap to XArrayMatthew Wilcox1-2/+2
2018-10-21shmem: Convert shmem_alloc_hugepage to XArrayMatthew Wilcox1-10/+4
2018-10-21shmem: Convert shmem_add_to_page_cache to XArrayMatthew Wilcox1-47/+34
2018-10-21shmem: Convert find_swap_entry to XArrayMatthew Wilcox1-17/+10
2018-10-21shmem: Convert shmem_confirm_swap to XArrayMatthew Wilcox1-6/+1
2018-10-21shmem: Convert shmem_radix_tree_replace to XArrayMatthew Wilcox1-14/+8
2018-09-29xarray: Replace exceptional entriesMatthew Wilcox1-5/+5
2018-09-20mm: shmem.c: Correctly annotate new inodes for lockdepJoel Fernandes (Google)1-0/+2
2018-08-23mm: Change return type int to vm_fault_t for fault handlersSouptick Joarder1-2/+3
2018-08-22mm: zero out the vma in vma_init()Andrew Morton1-1/+0
2018-08-17shmem: use monotonic time for i_generationArnd Bergmann1-1/+2
2018-08-14Merge tag 'for-4.19/block-20180812' of git://git.kernel.dk/linux-blockLinus Torvalds1-5/+5
2018-08-13Merge branch 'work.open3' of git://git.kernel.org/pub/scm/linux/kernel/git/vi...Linus Torvalds1-38/+11
2018-07-26mm: use vma_init() to initialize VMAs on stack and data segmentsKirill A. Shutemov1-0/+1
2018-07-12... and switch shmem_file_setup() to alloc_file_pseudo()Al Viro1-30/+7
2018-07-12__shmem_file_setup(): reorder allocationsAl Viro1-23/+20
2018-07-12alloc_file(): switch to passing O_... flags instead of FMODE_... modeAl Viro1-2/+1
2018-07-09memcontrol: schedule throttling if we are congestedTejun Heo1-5/+5
2018-06-15mm: use octal not symbolic permissionsJoe Perches1-4/+5
2018-06-07mm/shmem.c: zero out unused vma fields in shmem_pseudo_vma_init()Kirill A. Shutemov1-2/+1
2018-06-07mm/shmem.c: use new return type vm_fault_tSouptick Joarder1-6/+6
2018-06-07tmpfs: allow decoding a file handle of an unlinked fileAmir Goldstein1-1/+10
2018-06-07mm: shmem: make stat.st_blksize return huge page size if THP is onYang Shi1-0/+14
2018-06-07mm: restructure memfd codeMike Kravetz1-324/+0
2018-06-07mm/shmem: update file sealing comments and file checkingMike Kravetz1-24/+26
2018-06-07mm/shmem: add __rcu annotations and properly deref radix entryMike Kravetz1-7/+13
2018-06-07mm, memcontrol: move swap charge handling into get_swap_page()Tejun Heo1-4/+0
2018-04-11page cache: use xa_lockMatthew Wilcox1-30/+30
2018-04-05mm: swap: unify cluster-based and vma-based swap readaheadMinchan Kim1-1/+4
2018-03-22mm/shmem: do not wait for lock_page() in shmem_unused_huge_shrink()Kirill A. Shutemov1-11/+20
2018-01-31shmem: add sealing support to hugetlb-backed memfdMarc-André Lureau1-19/+28
2018-01-31shmem: rename functions that are memfd-relatedMarc-André Lureau1-5/+5
2018-01-31shmem: unexport shmem_add_seals()/shmem_get_seals()Marc-André Lureau1-4/+2
2017-11-27Rename superblock flags (MS_xyz -> SB_xyz)Linus Torvalds1-5/+5
2017-11-17mm: shmem: remove unused info variableCorentin Labbe1-2/+0
2017-11-15Merge tag 'drm-for-v4.15' of git://people.freedesktop.org/~airlied/linuxLinus Torvalds1-8/+22
2017-11-15mm/shmem.c: mark expected switch fall-throughGustavo A. R. Silva1-0/+1
2017-11-15shmem: convert shmem_init_inodecache() to voidweiping zhang1-6/+2
2017-11-15mm, pagevec: remove cold parameter for pagevecsMel Gorman1-3/+3
2017-11-15mm, truncate: do not check mapping for every page being truncatedMel Gorman1-1/+1
2017-10-07mm/shmem: introduce shmem_file_setup_with_mntMatthew Auld1-8/+22
2017-09-13mm: treewide: remove GFP_TEMPORARY allocation flagMichal Hocko1-1/+1
2017-09-06mm, swap: VMA based swap readaheadHuang Ying1-1/+1
2017-09-06mm/shmem: add hugetlbfs support to memfd_create()Mike Kravetz1-6/+31
2017-09-06userfaultfd: shmem: add shmem_mfill_zeropage_pte for userfaultfd supportMike Rapoport1-17/+45
2017-09-06shmem: introduce shmem_inode_acct_blockMike Rapoport1-56/+46
2017-09-06shmem: shmem_charge: verify max_block is not exceeded before inode updateMike Rapoport1-13/+12
2017-08-25mm, shmem: fix handling /sys/kernel/mm/transparent_hugepage/shmem_enabledKirill A. Shutemov1-2/+2
2017-08-10mm: fix list corruptions on shmem shrinklistCong Wang1-2/+10
2017-07-10mm: make PR_SET_THP_DISABLE immediately activeMichal Hocko1-3/+5
2017-07-06mm: per-cgroup memory reclaim statsRoman Gushchin1-2/+1
2017-07-06mm, THP, swap: unify swap slot free functions to put_swap_pageMinchan Kim1-1/+1
2017-07-06mm, THP, swap: delay splitting THP during swap outHuang Ying1-1/+1
2017-07-03Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-3/+3
2017-06-20sched/wait: Disambiguate wq_entry->task_list and wq_head->task_list namingIngo Molnar1-2/+2
2017-06-20sched/wait: Rename wait_queue_t => wait_queue_entry_tIngo Molnar1-1/+1
2017-06-05tmpfs: generate random sb->s_uuidAmir Goldstein1-0/+2
2017-03-03Merge branch 'rebased-statx' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-3/+3
2017-03-02statx: Add a system call to make enhanced file info availableDavid Howells1-3/+3
2017-03-02sched/headers: Prepare to move signal wakeup & sigpending methods from <linux...Ingo Molnar1-0/+1
2017-02-24mm/shmem.c: fix unlikely() test of info->seals to test only for WRITE and GROWSteven Rostedt (VMware)1-1/+1
2017-02-24mm, fs: reduce fault, page_mkwrite, and pfn_mkwrite to take only vmfDave Jiang1-1/+2
2017-02-22userfaultfd: shmem: avoid leaking blocks and used blocks in UFFDIO_COPYAndrea Arcangeli1-10/+13
2017-02-22userfaultfd: shmem: avoid a lockup resulting from corrupted page->flagsAndrea Arcangeli1-2/+1
2017-02-22userfaultfd: shmem: lock the page before adding it to pagecacheAndrea Arcangeli1-0/+5
2017-02-22userfaultfd: shmem: add userfaultfd hook for shared memory faultsMike Rapoport1-7/+15
2017-02-22userfaultfd: shmem: add tlbflush.h header for microblazeAndrea Arcangeli1-0/+2
2017-02-22userfaultfd: shmem: introduce vma_is_shmemMike Rapoport1-0/+5
2017-02-22userfaultfd: shmem: add shmem_mcopy_atomic_pte for userfaultfd supportMike Rapoport1-0/+110
2017-02-22tmpfs: change shmem_mapping() to test shmem_aopsHugh Dickins1-4/+1
2017-02-03shmem: fix sleeping from atomic contextKirill A. Shutemov1-2/+9
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-12-17Merge uncontroversial parts of branch 'readlink' of git://git.kernel.org/pub/...Linus Torvalds1-2/+0
2016-12-14radix-tree: delete radix_tree_locate_item()Matthew Wilcox1-1/+25
2016-12-14radix-tree: improve multiorder iteratorsMatthew Wilcox1-3/+3
2016-12-12lib: radix-tree: update callback for changing leaf nodesJohannes Weiner1-1/+2
2016-12-12lib: radix-tree: native accounting of exceptional entriesJohannes Weiner1-4/+4
2016-12-12shmem: fix compilation warnings on unused functionsJérémy Lefaure1-0/+2
2016-12-12shmem: avoid maybe-uninitialized warningArnd Bergmann1-3/+1
2016-12-09vfs: remove ".readlink = generic_readlink" assignmentsMiklos Szeredi1-2/+0
2016-12-06shmem: fix shm fallocate() list corruptionLinus Torvalds1-1/+14
2016-11-11shmem: fix pageflags after swapping DMA32 objectHugh Dickins1-0/+2
2016-10-10Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-11/+11
2016-10-10Merge remote-tracking branch 'ovl/rename2' into for-linusAl Viro1-3/+4
2016-10-10Merge branch 'work.xattr' of git://git.kernel.org/pub/scm/linux/kernel/git/vi...Linus Torvalds1-15/+0
2016-10-10Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-1/+1
2016-10-08Merge remote-tracking branch 'jk/vfs' into work.miscAl Viro1-1/+1
2016-10-07Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-1/+1
2016-10-07vfs: Remove {get,set,remove}xattr inode operationsAndreas Gruenbacher1-15/+0
2016-10-07mm/shmem.c: constify anon_opsRasmus Villemoes1-1/+1
2016-10-05switch generic_file_splice_read() to use of ->read_iter()Al Viro1-114/+1
2016-09-27fs: Replace CURRENT_TIME with current_time() for inode timestampsDeepa Dinamani1-10/+10
2016-09-27fs: rename "rename2" i_op to "rename"Miklos Szeredi1-1/+1
2016-09-24huge tmpfs: fix Committed_AS leakHugh Dickins1-1/+2
2016-09-24shmem: fix tmpfs to handle the huge= option properlyToshi Kani1-1/+1
2016-09-22fs: Give dentry to inode_change_ok() instead of inodeJan Kara1-1/+1
2016-08-10thp: move shmem_huge_enabled() outside of SYSFS ifdefArnd Bergmann1-1/+3
2016-08-03shmem: Fix link error if huge pages support is disabledGeert Uytterhoeven1-1/+2
2016-07-28mm: move most file-based accounting to the nodeMel Gorman1-7/+7
2016-07-26shmem: split huge pages beyond i_size under memory pressureKirill A. Shutemov1-0/+175
2016-07-26thp: introduce CONFIG_TRANSPARENT_HUGE_PAGECACHEKirill A. Shutemov1-13/+13
2016-07-26khugepaged: add support of collapse for tmpfs/shmem pagesKirill A. Shutemov1-11/+45
2016-07-26shmem: make shmem_inode_info::lock irq-safeKirill A. Shutemov1-24/+26
2016-07-26shmem, thp: respect MADV_{NO,}HUGEPAGE for file mappingsKirill A. Shutemov1-3/+17
2016-07-26shmem: add huge pages supportKirill A. Shutemov1-67/+313
2016-07-26shmem: get_unmapped_area align huge pageHugh Dickins1-0/+98
2016-07-26shmem: prepare huge= mount option and sysfs knobKirill A. Shutemov1-0/+161
2016-07-10tmpfs: fix regression hang in fallocate undoHugh Dickins1-3/+5
2016-06-24tmpfs: don't undo fallocate past its last pageAnthony Romano1-1/+1
2016-05-27switch xattr_handler->set() to passing dentry and inode separatelyAl Viro1-3/+4
2016-05-19tmpfs: mem_cgroup charge fault to vm_mm not current mmAndres Lagar-Cavilla1-27/+34
2016-05-19tmpfs: preliminary minor tidyupsHugh Dickins1-43/+26
2016-05-19mm: use __SetPageSwapBacked and dont ClearPageSwapBackedHugh Dickins1-2/+2
2016-05-02parallel lookups machinery, part 2Al Viro1-1/+2
2016-05-02Merge getxattr prototype change into work.lookupsAl Viro1-3/+3
2016-04-10xattr_handler: pass dentry and inode as separate arguments of ->get()Al Viro1-3/+3
2016-04-04mm, fs: get rid of PAGE_CACHE_* and page_cache_{get,release} macrosKirill A. Shutemov1-65/+65
2016-03-17radix-tree,shmem: introduce radix_tree_iter_next()Matthew Wilcox1-9/+3
2016-03-17mm: use radix_tree_iter_retry()Matthew Wilcox1-11/+12
2016-03-17mm: convert printk(KERN_<LEVEL> to pr_<level>Joe Perches1-8/+6
2016-03-15mm: migrate: do not touch page->mem_cgroup of live pagesJohannes Weiner1-1/+1