aboutsummaryrefslogtreecommitdiffstats
path: root/mm/shmem.c
AgeCommit message (Expand)AuthorFilesLines
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
2016-01-22make sure that freeing shmem fast symlinks is RCU-delayedAl Viro1-5/+4
2016-01-22wrappers for ->i_mutex accessAl Viro1-6/+6
2016-01-20mm: memcontrol: charge swap to cgroup2Vladimir Davydov1-0/+4
2016-01-15memcg: adjust to support new THP refcountingKirill A. Shutemov1-9/+12
2016-01-15page-flags: define PG_locked behavior on compound pagesKirill A. Shutemov1-2/+2
2016-01-15Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-1/+82
2016-01-14mm, proc: reduce cost of /proc/pid/smaps for unpopulated shmem mappingsVlastimil Babka1-27/+38
2016-01-14mm, proc: reduce cost of /proc/pid/smaps for shmem mappingsVlastimil Babka1-0/+70
2016-01-14kmemcg: account certain kmem allocations to memcgVladimir Davydov1-1/+1
2016-01-14Make sure that highmem pages are not added to symlink page cacheAl Viro1-1/+1
2016-01-11Merge branch 'work.xattr' of git://git.kernel.org/pub/scm/linux/kernel/git/vi...Linus Torvalds1-90/+43
2016-01-11Merge branch 'work.symlinks' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-20/+28
2015-12-30switch ->get_link() to delayed_call, kill ->put_link()Al Viro1-10/+9
2015-12-12tmpfs: fix shmem_evict_inode() warnings on i_blocksHugh Dickins1-20/+14
2015-12-08teach shmem_get_link() to work in RCU modeAl Viro1-6/+14
2015-12-08replace ->follow_link() with new method that could stay in RCU modeAl Viro1-4/+8
2015-12-08don't put symlink bodies in pagecache into highmemAl Viro1-6/+3
2015-12-06tmpfs: listxattr should include POSIX ACL xattrsAndreas Gruenbacher1-1/+1
2015-12-06tmpfs: Use xattr handler infrastructureAndreas Gruenbacher1-89/+42
2015-11-06mm: page_alloc: hide some GFP internals and document the bits and flag combin...Mel Gorman1-0/+2
2015-11-05tmpfs: avoid a little creat and stat slowdownHugh Dickins1-8/+14
2015-11-05mm: rename mem_cgroup_migrate to mem_cgroup_replace_pageHugh Dickins1-1/+1
2015-09-08shmem: recalculate file inode when fstatYu Zhao1-0/+16
2015-08-07ipc: use private shmem or hugetlbfs inodes for shm segments.Stephen Smalley1-2/+2
2015-06-24tmpfs: truncate prealloc blocks past i_sizeJosef Bacik1-1/+1
2015-06-22Merge branch 'for-linus-1' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-19/+13
2015-06-17mm: shmem_zero_setup skip security check and lockdep conflict with XFSHugh Dickins1-1/+7
2015-05-11switch ->put_link() from dentry to inodeAl Viro1-1/+1
2015-05-10don't pass nameidata to ->follow_link()Al Viro1-1/+1
2015-05-10new ->follow_link() and ->put_link() calling conventionsAl Viro1-12/+11
2015-05-10shmem: switch to simple_follow_link()Al Viro1-7/+2
2015-04-15VFS: assorted weird filesystems: d_inode() annotationsDavid Howells1-15/+15
2015-04-11make new_sync_{read,write}() staticAl Viro1-2/+0
2015-04-11Merge branch 'iocb' into for-nextAl Viro1-1/+1
2015-03-25fs: move struct kiocb to fs.hChristoph Hellwig1-1/+1
2015-02-23mm: shmem: check for mapping owner before dereferencingSasha Levin1-0/+3
2015-02-22VFS: (Scripted) Convert S_ISLNK/DIR/REG(dentry->d_inode) to d_is_*(dentry)David Howells1-2/+2
2015-02-12Merge branch 'for-3.20/bdi' of git://git.kernel.dk/linux-blockLinus Torvalds1-18/+6
2015-02-11swap: remove unused mem_cgroup_uncharge_swapcache declarationVladimir Davydov1-1/+1
2015-02-10mm: drop vm_ops->remap_pages and generic_file_remap_pages() stubKirill A. Shutemov1-1/+0
2015-02-05memcg, shmem: fix shmem migration to use lrucareMichal Hocko1-1/+1
2015-01-20fs: remove mapping->backing_dev_infoChristoph Hellwig1-1/+0
2015-01-20fs: kill BDI_CAP_SWAP_BACKEDChristoph Hellwig1-18/+7
2014-12-17new helper: iter_is_iovec()Al Viro1-1/+1
2014-10-24shmem: support RENAME_WHITEOUTMiklos Szeredi1-1/+35
2014-10-10Merge branch 'for-3.18' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/p...Linus Torvalds1-1/+1