aboutsummaryrefslogtreecommitdiffstats
path: root/mm/util.c
AgeCommit message (Expand)AuthorFilesLines
2024-03-14Merge tag 'mm-stable-2024-03-13-20-04' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-2/+4
2024-03-04mm/util.c: add byte count to __vm_enough_memory failure warningMatthew Cassell1-2/+4
2024-02-01mm/util: Introduce kmemdup_array()Kartik1-0/+17
2023-12-10mm/util: use kmap_local_page() in memcmp_pages()Fabio De Francesco1-4/+4
2023-11-15parisc: fix mmap_base calculation when stack grows upwardsHelge Deller1-0/+10
2023-11-02Merge tag 'mm-stable-2023-11-01-14-33' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-0/+1
2023-10-25nilfs2: convert nilfs_copy_page() to nilfs_copy_folio()Matthew Wilcox (Oracle)1-0/+1
2023-09-13mm: Remove kmem_valid_obj()Zhen Lei1-3/+1
2023-09-05rcu: dump vmalloc memory info safelyZqiang1-1/+3
2023-08-31Merge tag 'x86_shstk_for_6.6-rc1' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-1/+1
2023-08-29Merge tag 'mm-stable-2023-08-28-18-26' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-8/+2
2023-08-24mm/swap: inline folio_set_swap_entry() and folio_swap_entry()David Hildenbrand1-1/+1
2023-08-24mm: remove ARCH_IMPLEMENTS_FLUSH_DCACHE_FOLIOMatthew Wilcox (Oracle)1-1/+1
2023-08-22parisc: Use generic mmap top-down layout and brk randomizationHelge Deller1-1/+4
2023-08-18mm: remove page_rmapping()ZhangPeng1-6/+0
2023-07-11mm: Re-introduce vm_flags to do_mmap()Yu-cheng Yu1-1/+1
2023-04-08mm: uninline kstrdup()Alexey Dobriyan1-0/+1
2023-02-13mm: fix typo in __vm_enough_memory warningJakub Wilk1-1/+1
2023-01-18mm: new primitive kvmemdup()Hao Sun1-1/+23
2022-11-30mm,thp,rmap: simplify compound page mapcount handlingHugh Dickins1-79/+0
2022-10-10Merge tag 'mm-stable-2022-10-08' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-33/+3
2022-09-30mm: fix BUG splat with kvmalloc + GFP_ATOMICFlorian Westphal1-0/+4
2022-09-26mm: remove the vma linked listLiam R. Howlett1-40/+0
2022-09-26mm: remove rb tree.Liam R. Howlett1-1/+9
2022-09-11mm/util.c: add warning if __vm_enough_memory failsKefeng Wang1-0/+2
2022-09-11mm/util: reduce stack usage of folio_mapcountKairui Song1-1/+1
2022-08-05Merge tag 'mm-stable-2022-08-03' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-1/+1
2022-08-02mm: Convert all PageMovable users to movable_operationsMatthew Wilcox (Oracle)1-2/+2
2022-06-27docs: rename Documentation/vm to Documentation/mmMike Rapoport1-1/+1
2022-05-28Merge tag 'powerpc-5.19-1' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds1-1/+1
2022-05-26Merge tag 'mm-stable-2022-05-25' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-0/+1
2022-05-19random: move randomize_page() into mm where it belongsJason A. Donenfeld1-0/+32
2022-05-09mm: create new mm/swap.h header fileNeilBrown1-0/+1
2022-05-05mm: Allow arch specific arch_randomize_brk() with CONFIG_ARCH_WANT_DEFAULT_TO...Christophe Leroy1-1/+1
2022-04-24kvmalloc: use vmalloc_huge for vmalloc allocationsLinus Torvalds1-2/+9
2022-03-24Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds1-0/+50
2022-03-22Merge tag 'folio-5.18c' of git://git.infradead.org/users/willy/pagecacheLinus Torvalds1-2/+34
2022-03-21mm: Turn page_anon_vma() into folio_anon_vma()Matthew Wilcox (Oracle)1-2/+1
2022-03-21mm: Add folio_mapcount()Matthew Wilcox (Oracle)1-0/+33
2022-03-08mm: vmalloc: introduce array allocation functionsPaolo Bonzini1-0/+50
2022-03-04mm: Consider __GFP_NOWARN flag for oversized kvmalloc() callsDaniel Borkmann1-1/+3
2022-01-15mm: allow !GFP_KERNEL allocations for kvmallocMichal Hocko1-11/+4
2021-11-17mm: Remove folio_test_singleMatthew Wilcox (Oracle)1-1/+1
2021-10-18mm/migrate: Add folio_migrate_copy()Matthew Wilcox (Oracle)1-4/+17
2021-10-18mm: Add flush_dcache_folio()Matthew Wilcox (Oracle)1-0/+11
2021-09-27mm: Add folio_raw_mapping()Matthew Wilcox (Oracle)1-16/+4
2021-09-27mm: Add folio_mapped()Matthew Wilcox (Oracle)1-13/+16
2021-09-27mm/util: Add folio_mapping() and folio_file_mapping()Matthew Wilcox (Oracle)1-12/+18
2021-09-24mm: fix uninitialized use in overcommit_policy_handlerChen Jun1-2/+2
2021-09-02mm: don't allow oversized kvmalloc() callsLinus Torvalds1-0/+4
2021-08-09mm: Add kvrealloc()Dave Chinner1-0/+15
2021-07-12mm: Make copy_huge_page() always availableMatthew Wilcox (Oracle)1-0/+10
2021-07-04Merge branch 'core-rcu-2021.07.04' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-1/+1
2021-06-30mm: introduce page_offline_(begin|end|freeze|thaw) to synchronize setting Pag...David Hildenbrand1-0/+40
2021-05-10mm/slub: Add Support for free path information of an objectManinder Singh1-1/+1
2021-05-05mm/util.c: fix typoBhaskar Chowdhury1-1/+1
2021-05-05mm/util.c: reduce mem_dump_obj() object sizeJoe Perches1-10/+14
2021-04-30mm: move page_mapping_file to pagemap.hMatthew Wilcox (Oracle)1-10/+0
2021-03-08rcutorture: Add crude tests for mem_dump_obj()Paul E. McKenney1-0/+1
2021-03-08mm: Don't build mm_dump_obj() on CONFIG_PRINTK=n kernelsPaul E. McKenney1-0/+2
2021-01-22mm: Make mem_dump_obj() handle vmalloc() memoryPaul E. McKenney1-6/+8
2021-01-22mm: Make mem_dump_obj() handle NULL and zero-sized pointersPaul E. McKenney1-1/+6
2021-01-22mm: Add mem_dump_obj() to print source of memory blockPaul E. McKenney1-0/+24
2020-11-19mm: introduce vma_set_file function v5Christian König1-0/+12
2020-10-16mm/util.c: update the kerneldoc for kstrdup_const()Bartosz Golaszewski1-1/+2
2020-09-04arm64: mte: Tags-aware aware memcmp_pages() implementationCatalin Marinas1-1/+1
2020-08-07mm: remove unnecessary wrapper function do_mmap_pgoff()Peter Collingbourne1-2/+2
2020-08-07mm: adjust vm_committed_as_batch according to vm overcommit policyFeng Tang1-0/+41
2020-08-07mm/util.c: make vm_memory_committed() more accurateFeng Tang1-1/+6
2020-06-09mmap locking API: convert mmap_sem commentsMichel Lespinasse1-1/+1
2020-06-09mmap locking API: add mmap_assert_locked() and mmap_assert_write_locked()Michel Lespinasse1-1/+1
2020-06-09mmap locking API: use coccinelle to convert mmap_sem rwsem call sitesMichel Lespinasse1-4/+4
2020-06-04mm: add kvfree_sensitive() for freeing sensitive data objectsWaiman Long1-0/+18
2020-06-04mm/util.c: remove the VM_WARN_ONCE for vm_committed_as underflow checkFeng Tang1-4/+0
2020-06-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-nextLinus Torvalds1-6/+4
2020-06-02mm: remove __vmalloc_node_flags_callerChristoph Hellwig1-1/+1
2020-04-27sysctl: pass kernel pointers to ->proc_handlerChristoph Hellwig1-6/+4
2019-12-01mm/mmap.c: rb_parent is not necessary in __vma_link_list()Wei Yang1-6/+2
2019-12-01mm/mmap.c: extract __vma_unlink_list() as counterpart for __vma_link_list()Wei Yang1-0/+14
2019-09-24arm64, mm: make randomization selected by generic topdown mmap layoutAlexandre Ghiti1-2/+9
2019-09-24arm64, mm: move generic mmap layout functions to mmAlexandre Ghiti1-1/+77
2019-09-24mm, fs: move randomize_stack_top from fs to mmAlexandre Ghiti1-0/+22
2019-09-24mm: move memcmp_pages() and pages_identical()Song Liu1-0/+13
2019-09-24mm: introduce compound_nr()Matthew Wilcox (Oracle)1-1/+1
2019-07-16mm: add account_locked_vm utility functionDaniel Jordan1-0/+75
2019-07-12mm: consolidate the get_user_pages* implementationsChristoph Hellwig1-47/+0
2019-06-01prctl_set_mm: downgrade mmap_sem to read lockMichal Koutný1-2/+2
2019-05-21treewide: Add SPDX license identifier for missed filesThomas Gleixner1-0/+1
2019-05-14mm: fix false-positive OVERCOMMIT_GUESS failuresJohannes Weiner1-46/+5
2019-05-14mm/gup: change GUP fast to use flags rather than a write 'bool'Ira Weiny1-4/+4
2019-04-05mm/util.c: fix strndup_user() commentAndrew Morton1-1/+1
2019-03-05docs/core-api/mm: fix return value descriptions in mm/Mike Rapoport1-11/+26
2019-02-21mm: don't let userspace spam allocations warningsDaniel Vetter1-1/+1
2019-01-08mm: page_mapped: don't assume compound page is huge or THPJan Stancek1-1/+1
2018-12-28mm: convert totalram_pages and totalhigh_pages variables to atomicArun KS1-1/+1
2018-10-26kvfree(): fix misleading commentAndrey Ryabinin1-1/+1
2018-10-26mm: rename and change semantics of nr_indirectly_reclaimable_bytesVlastimil Babka1-2/+1
2018-10-16mm: move is_kernel_rodata() to asm-generic/sections.hBartosz Golaszewski1-7/+0
2018-09-04mm/util.c: improve kvfree() kerneldocAndrew Morton1-4/+7
2018-08-23mm/util: add kernel-doc for kvfreeMike Rapoport1-0/+7
2018-08-23mm/util: make strndup_user description a kernel-doc commentMike Rapoport1-1/+1
2018-06-07mm: kvmalloc does not fallback to vmalloc for incompatible gfp flagsMichal Hocko1-2/+4
2018-04-16Merge branch 'mm-rst' into docs-nextJonathan Corbet1-1/+1
2018-04-16docs/vm: rename documentation files to .rstMike Rapoport1-1/+1
2018-04-13mm/gup.c: document return valueMichael S. Tsirkin1-2/+4
2018-04-11exec: pass stack rlimit into mm layout functionsKees Cook1-1/+1
2018-04-11mm: treat indirectly reclaimable memory as free in overcommit logicRoman Gushchin1-0/+7
2018-04-05mm: fix races between swapoff and flush dcacheHuang Ying1-0/+10
2018-01-07new primitive: vmemdup_user()Al Viro1-1/+28
2018-01-07memdup_user(): switch to GFP_USERAl Viro1-6/+1
2017-09-06mm: rename global_page_state to global_zone_page_stateMichal Hocko1-1/+1
2017-08-10mm: fix global NR_SLAB_.*CLAIMABLE counter readsJohannes Weiner1-1/+1
2017-07-15Merge branch 'work.mount' of git://git.kernel.org/pub/scm/linux/kernel/git/vi...Linus Torvalds1-0/+24
2017-07-12mm: kvmalloc support __GFP_RETRY_MAYFAIL for all sizesMichal Hocko1-10/+4
2017-07-12mm, tree wide: replace __GFP_REPEAT by __GFP_RETRY_MAYFAIL with more useful s...Michal Hocko1-3/+3
2017-07-06Provide a function to create a NUL-terminated string from unterminated dataDavid Howells1-0/+24
2017-06-02mm: clarify why we want kmalloc before falling backto vmallockMichal Hocko1-2/+5
2017-05-12mm, vmalloc: fix vmalloc users tracking properlyMichal Hocko1-1/+2
2017-05-08mm, vmalloc: use __GFP_HIGHMEM implicitlyMichal Hocko1-1/+1
2017-05-08mm: support __GFP_REPEAT in kvmalloc_node for >32kBMichal Hocko1-3/+15
2017-05-08mm: introduce kv[mz]alloc helpersMichal Hocko1-0/+45
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-0/+1
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-0/+1
2017-02-24userfaultfd: non-cooperative: add event for memory unmapsMike Rapoport1-1/+4
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-10-22Merge branch 'mm-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-1/+3
2016-10-20mm: Change vm_is_stack_for_task() to vm_is_stack_for_current()Andy Lutomirski1-1/+3
2016-10-19mm: replace access_process_vm() write parameter with gup_flagsLorenzo Stoakes1-2/+3
2016-10-18mm: replace get_user_pages_unlocked() write/force parameters with gup_flagsLorenzo Stoakes1-1/+2
2016-07-28mm: move most file-based accounting to the nodeMel Gorman1-2/+2
2016-07-26rmap: support file thpKirill A. Shutemov1-0/+6
2016-07-26mm: migrate: support non-lru movable page migrationMinchan Kim1-2/+4
2016-05-23mm: make vm_mmap killableMichal Hocko1-9/+4
2016-05-23mm: make mmap_sem for write waits killable for mm syscallsMichal Hocko1-3/+9
2016-05-19mm: uninline page_mapped()Andrew Morton1-0/+23
2016-03-20Merge branch 'mm-pkeys-for-linus' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-3/+1
2016-03-17mm: deduplicate memory overcommitment codeAndrey Ryabinin1-0/+124
2016-02-16mm/gup: Overload get_user_pages() functionsDave Hansen1-3/+1
2016-02-03proc: revert /proc/<pid>/maps [stack:TID] annotationJohannes Weiner1-26/+1
2016-01-20proc read mm's {arg,env}_{start,end} with mmap semaphore taken.Mateusz Guzik1-4/+12
2016-01-15mm: prepare page_referenced() and page_idle to new THP refcountingKirill A. Shutemov1-0/+14
2016-01-15mm: sanitize page->mapping for tail pagesKirill A. Shutemov1-4/+6
2016-01-04new helper: memdup_user_nul()Al Viro1-0/+31
2015-11-05mm/util: use offset_in_page macroAlexander Kuleshov1-1/+1
2015-04-15mm: uninline and cleanup page-mapping related helpersKirill A. Shutemov1-5/+36
2015-02-13mm/util: add kstrdup_constAndrzej Hajda1-0/+38
2015-02-11mm: gup: use get_user_pages_unlocked within get_user_pages_fastAndrea Arcangeli1-8/+2
2014-10-09proc/maps: make vm_is_stack() logic namespace-friendlyOleg Nesterov1-15/+8
2014-08-08vm_is_stack: use for_each_thread() rather then buggy while_each_thread()Oleg Nesterov1-6/+3
2014-08-06mm: move slab related stuff from util.c to slab_common.cAndrey Ryabinin1-102/+0
2014-05-06nick kvfree() from apparmorAl Viro1-0/+10
2014-04-12Merge git://git.infradead.org/users/eparis/auditLinus Torvalds1-0/+48
2014-04-07mm: use macros from compiler.h instead of __attribute__((...))Gideon Israel Dsouza1-2/+3
2014-03-07mm: Create utility function for accessing a tasks commandline valueWilliam Roberts1-0/+48
2014-01-21mm: add overcommit_kbytes sysctl variableJerome Marchand1-2/+34
2014-01-15mm: fix crash when using XFS on loopbackMikulas Patocka1-1/+4
2013-11-13mm: factor commit limit calculationJerome Marchand1-0/+13
2013-09-11swap: clean-up #ifdef in page_mapping()Joonsoo Kim1-4/+1
2013-07-10mm: remove free_area_cacheMichel Lespinasse1-1/+0
2013-02-23swap: make each swap partition have one address_spaceShaohua Li1-3/+7
2013-02-23mm: don't inline page_mapping()Shaohua Li1-0/+16
2013-02-23mm: make do_mmap_pgoff return populate as a size in bytes, not as a boolMichel Lespinasse1-3/+3
2013-02-23mm: introduce mm_populate() for populating new vmasMichel Lespinasse1-1/+5
2012-10-28Merge branch 'master' into for-nextJiri Kosina1-14/+21
2012-10-15krealloc: Fix kernel-doc commentBorislav Petkov1-1/+1
2012-09-04mm: Use __do_krealloc to do the krealloc jobEzequiel Garcia1-14/+21
2012-06-01new helper: vm_mmap_pgoff()Al Viro1-0/+30
2012-03-21procfs: mark thread stack correctly in proc/<pid>/mapsSiddhesh Poyarekar1-0/+41
2011-10-31mm: Map most files to use export.h instead of module.hPaul Gortmaker1-1/+1
2011-05-25mm: nommu: sort mm->mmap list properlyNamhyung Kim1-0/+24
2011-03-31Fix common misspellingsLucas De Marchi1-1/+1
2011-01-07kernel: kmem_ptr_validate considered harmfulNick Piggin1-21/+0
2010-10-24export __get_user_pages_fast() functionXiao Guangrong1-0/+13
2010-08-09mm: use memdup_userJulia Lawall1-8/+3
2010-04-09slab: Generify kernel pointer validationPekka Enberg1-0/+21
2010-01-16nommu: don't need get_unmapped_area() for NOMMUDavid Howells1-1/+1
2009-12-30mm: move sys_mmap_pgoff from util.cHugh Dickins1-44/+0
2009-12-11fix a struct file leak in do_mmap_pgoff()Al Viro1-0/+15
2009-12-11Unify sys_mmap*Al Viro1-0/+29
2009-06-17Merge branches 'slab/documentation', 'slab/fixes', 'slob/cleanups' and 'slub/...Pekka Enberg1-0/+4
2009-06-16mm: clean up get_user_pages_fast() documentationNick Piggin1-4/+12
2009-06-01slab: document kzfree() zeroing behaviorPekka Enberg1-0/+4
2009-05-07Merge branch 'linus' into tracing/coreIngo Molnar1-0/+16
2009-04-14tracing/events: move trace point headers into include/trace/eventsSteven Rostedt1-1/+1
2009-04-14tracing: create automated trace definesSteven Rostedt1-8/+3
2009-04-13mm: document get_user_pages_fast()Andy Grover1-0/+16
2009-04-03kmemtrace: use tracepointsEduard - Gabriel Munteanu1-0/+16
2009-04-01memdup_user(): introduceLi Zefan1-0/+30
2009-02-20slab: introduce kzfree()Johannes Weiner1-0/+20
2008-08-12mm: Make generic weak get_user_pages_fast and EXPORT_GPL itRusty Russell1-0/+15
2008-07-26Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6Linus Torvalds1-10/+34
2008-07-26mm/util.c must #include <linux/sched.h>Adrian Bunk1-0/+1
2008-07-26netfilter: fix double-free and use-after freePekka Enberg1-10/+34
2008-07-26uninline arch_pick_mmap_layout()Andrew Morton1-0/+10
2007-11-14fix mm/util.c:krealloc()Adrian Bunk1-2/+2
2007-10-16Slab allocators: fail if ksize is called with a NULL parameterChristoph Lameter1-2/+4
2007-07-18add kstrndupJeremy Fitzhardinge1-2/+24
2007-07-17Slab allocators: Cleanup zeroing allocationsChristoph Lameter1-14/+0
2007-07-17Slab allocators: consistent ZERO_SIZE_PTR support and NULL result semanticsChristoph Lameter1-1/+1
2007-07-17Slab allocators: consolidate code for krealloc in mm/util.cChristoph Lameter1-0/+34