aboutsummaryrefslogtreecommitdiffstats
path: root/mm/vmalloc.c
AgeCommit message (Expand)AuthorFilesLines
2025-05-28Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/a...Linus Torvalds1-4/+36
2025-05-26Merge tag 'locking-core-2025-05-25' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-5/+6
2025-05-25mm: vmalloc: only zero-init on vrealloc shrinkKees Cook1-5/+7
2025-05-25mm: vmalloc: actually use the in-place vrealloc regionKees Cook1-0/+1
2025-05-09mm/vmalloc: Enter lazy mmu mode while manipulating vmalloc ptesRyan Roberts1-0/+14
2025-05-09mm/vmalloc: Gracefully unmap huge ptesRyan Roberts1-2/+16
2025-05-09mm/vmalloc: Warn on improper use of vunmap_range()Ryan Roberts1-2/+6
2025-05-07mm: vmalloc: support more granular vrealloc() sizingKees Cook1-7/+24
2025-05-03mm: Add vmalloc_huge_node()Peter Zijlstra1-5/+6
2025-03-17mm/vmalloc: refactor __vmalloc_node_range_noprof()Liu Ye1-12/+8
2025-03-05mm: don't skip arch_sync_kernel_mappings() in error pathsRyan Roberts1-2/+2
2025-01-25mm: alloc_pages_bulk: rename APILuiz Capitulino1-2/+2
2024-12-18vmalloc: fix accounting with i915Matthew Wilcox (Oracle)1-2/+4
2024-12-05mm: fix vrealloc()'s KASAN poisoning logicAndrii Nakryiko1-1/+2
2024-11-07alloc_tag: populate memory for module tags as neededSuren Baghdasaryan1-2/+2
2024-11-07execmem: add support for cache of large ROX pagesMike Rapoport (Microsoft)1-0/+5
2024-11-07mm: vmalloc: don't account for number of nodes for HUGE_VMAP allocationsMike Rapoport (Microsoft)1-7/+2
2024-11-05mm/vmalloc: combine all TLB flush operations of KASAN shadow virtual address ...Adrian Huang1-8/+26
2024-09-21Merge tag 'mm-stable-2024-09-20-02-31' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-39/+100
2024-09-09mm/vmalloc.c: use "high-order" in description non 0-order pagesUladzislau Rezki (Sony)1-2/+2
2024-09-09mm/vmalloc.c: use helper function va_size()ZhangPeng1-9/+8
2024-09-09mm/vmalloc.c: make use of the helper macro LIST_HEAD()Hongbo Li1-8/+3
2024-09-03mm: vmalloc: refactor vm_area_alloc_pages() functionUladzislau Rezki (Sony)1-20/+17
2024-09-01mm: vmalloc: add optimization hint on page existence checkMiao Wang1-1/+1
2024-09-01mm: vmalloc: implement vrealloc()Danilo Krummrich1-0/+70
2024-09-01mm: vmalloc: optimize vmap_lazy_nr arithmetic when purging each vmap_areaAdrian Huang1-1/+4
2024-09-01mm: vmalloc: ensure vmap_block is initialised before adding to queueWill Deacon1-1/+1
2024-08-15mm/vmalloc: fix page mapping if vm_area_alloc_pages() with high order fallbac...Hailong Liu1-9/+2
2024-07-06Merge branch 'mm-hotfixes-stable' into mm-stable to pick up "mm: fixAndrew Morton1-1/+9
2024-07-03mm: vmalloc: check if a hash-index is in cpu_possible_maskUladzislau Rezki (Sony)1-1/+9
2024-07-03vmalloc: modify the alloc_vmap_area() error message for better diagnosticsShubhang Kaushik OS1-2/+2
2024-07-03mm/vmalloc: use __this_cpu_try_cmpxchg() in preload_this_cpu_lock()Uros Bizjak1-2/+3
2024-06-24mm: fix incorrect vbq reference in purge_fragmented_blockZhaoyang Huang1-6/+15
2024-06-05vmalloc: check CONFIG_EXECMEM in is_vmalloc_or_module_addr()Cong Wang1-1/+1
2024-05-24mm/vmalloc: fix vmalloc which may return null if called with __GFP_NOFAILHailong.Liu1-3/+2
2024-05-19Merge tag 'mm-stable-2024-05-17-19-19' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-66/+72
2024-05-05mm: vmalloc: dump page owner info if page is already mappedHariom Panthi1-1/+9
2024-05-05mm/vmalloc: fix return value of vb_alloc if size is 0Hailong.Liu1-1/+1
2024-04-25mm/vmalloc.c: optimize to reduce arguments of alloc_vmap_area()Baoquan He1-8/+12
2024-04-25mm/vmalloc: eliminated the lock contention from twice to oncerulinhuang1-28/+22
2024-04-25mm: vmalloc: enable memory allocation profilingKent Overstreet1-37/+37
2024-04-05mm: vmalloc: fix lockdep warningUladzislau Rezki (Sony)1-30/+43
2024-04-05mm: vmalloc: bail out early in find_vmap_area() if vmap is not initUladzislau Rezki (Sony)1-0/+3
2024-03-14Merge tag 'mm-stable-2024-03-13-20-04' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-267/+813
2024-03-11mm: Introduce vmap_page_range() to map pages in PCI address spaceAlexei Starovoitov1-8/+15
2024-03-06mm: Introduce VM_SPARSE kind and vm_area_[un]map_pages().Alexei Starovoitov1-2/+57
2024-03-06mm: Enforce VM_IOREMAP flag and range in ioremap_page_range.Alexei Starovoitov1-0/+13
2024-02-23mm: vmalloc: refactor vmalloc_dump_obj() functionUladzislau Rezki (Sony)1-16/+17
2024-02-23mm: vmalloc: improve description of vmap node layerUladzislau Rezki (Sony)1-14/+46
2024-02-23mm: vmalloc: add a shrinker to drain vmap poolsUladzislau Rezki (Sony)1-0/+39
2024-02-23mm: vmalloc: set nr_nodes based on CPUs in a systemUladzislau Rezki (Sony)1-6/+23
2024-02-23mm: vmalloc: support multiple nodes in vmallocinfoUladzislau Rezki (Sony)1-73/+47
2024-02-23mm: vmalloc: support multiple nodes in vread_iterUladzislau Rezki (Sony)1-14/+53
2024-02-23mm: vmalloc: add a scan area of VA only onceUladzislau Rezki (Sony)1-6/+6
2024-02-23mm: vmalloc: offload free_vmap_area_lock lockUladzislau Rezki (Sony)1-45/+342
2024-02-23mm: vmalloc: remove global purge_vmap_area_root rb-treeUladzislau Rezki (Sony)1-53/+82
2024-02-23mm/vmalloc: remove vmap_area_listBaoquan He1-2/+0
2024-02-23mm: vmalloc: remove global vmap_area_root rb-treeUladzislau Rezki (Sony)1-68/+174
2024-02-23mm: vmalloc: move vmap_init_free_space() down in vmalloc.cUladzislau Rezki (Sony)1-41/+41
2024-02-23mm: vmalloc: rename adjust_va_to_fit_type() functionUladzislau Rezki (Sony)1-7/+6
2024-02-23mm: vmalloc: add va_alloc() helperUladzislau Rezki (Sony)1-13/+28
2023-11-01mm/vmalloc: fix the unchecked dereference warning in vread_iter()Baoquan He1-1/+1
2023-09-29mm: hugetlb: add huge page size param to set_huge_pte_at()Ryan Roberts1-1/+1
2023-09-05mm/vmalloc: add a safer version of find_vm_area() for debugJoel Fernandes (Google)1-4/+22
2023-08-21mm: add a call to flush_cache_vmap() in vmap_pfn()Alexandre Ghiti1-0/+4
2023-06-23Merge mm-hotfixes-stable into mm-stable to pick up depended-upon changes.Andrew Morton1-4/+13
2023-06-19mm: ptep_get() conversionRyan Roberts1-3/+3
2023-06-19mm/vmalloc: vmalloc_to_page() use pte_offset_kernel()Hugh Dickins1-2/+1
2023-06-19mm/vmalloc: replace the ternary conditional operator with min()Lu Hongfei1-1/+1
2023-06-19mm/vmalloc: do not output a spurious warning when huge vmalloc() failsLorenzo Stoakes1-4/+13
2023-06-09mm: vmalloc must set pte via arch codeRyan Roberts1-2/+8
2023-06-09mm/vmalloc: dont purge usable blocks unnecessarilyThomas Gleixner1-8/+20
2023-06-09mm/vmalloc: add missing READ/WRITE_ONCE() annotationsThomas Gleixner1-5/+8
2023-06-09mm/vmalloc: check free space in vmap_block locklessThomas Gleixner1-1/+4
2023-06-09mm/vmalloc: prevent flushing dirty space over and overThomas Gleixner1-2/+6
2023-06-09mm/vmalloc: avoid iterating over per CPU vmap blocks twiceThomas Gleixner1-24/+46
2023-06-09mm/vmalloc: prevent stale TLBs in fully utilized blocksThomas Gleixner1-1/+2
2023-04-18mm: vmalloc: rename addr_to_vb_xarray() functionUladzislau Rezki (Sony)1-6/+6
2023-04-18mm: vmalloc: remove a global vmap_blocks xarrayUladzislau Rezki (Sony)1-8/+63
2023-04-18sync mm-stable with mm-hotfixes-stable to pick up depended-upon upstream changesAndrew Morton1-3/+7
2023-04-18mm: kmsan: handle alloc failures in kmsan_ioremap_page_range()Alexander Potapenko1-2/+2
2023-04-18mm: kmsan: handle alloc failures in kmsan_vmap_pages_range_noflush()Alexander Potapenko1-1/+5
2023-04-16sync mm-stable with mm-hotfixes-stable to pick up depended-upon upstream changesAndrew Morton1-3/+5
2023-04-05mm: vmalloc: convert vread() to vread_iter()Lorenzo Stoakes1-88/+147
2023-04-05mm: vmalloc: avoid warn_alloc noise caused by fatal signalYafang Shao1-3/+5
2023-03-28mm: prefer xxx_page() alloc/free functions for order-0 pagesLorenzo Stoakes1-1/+1
2023-03-28kasan: remove PG_skip_kasan_poison flagPeter Collingbourne1-1/+1
2023-03-23mm, vmalloc: fix high order __GFP_NOFAIL allocationsMichal Hocko1-5/+23
2023-02-23Merge tag 'mm-stable-2023-02-20-13-37' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-195/+266
2023-02-20netfs: Add a function to extract an iterator into a scatterlistDavid Howells1-0/+1
2023-02-09mm/vmalloc: skip the uninitilized vmalloc areasBaoquan He1-0/+5
2023-02-09mm/vmalloc: explicitly identify vm_map_ram area when shown in /proc/vmcoreinfoBaoquan He1-7/+4
2023-02-09mm/vmalloc.c: allow vread() to read out vm_map_ram areasBaoquan He1-7/+81
2023-02-09mm/vmalloc.c: add flags to mark vm_map_ram areaBaoquan He1-4/+12
2023-02-09mm/vmalloc.c: add used_map into vmap_block to track space of vmap_blockBaoquan He1-0/+7
2023-02-09mm/vmalloc: replace BUG_ON with a simple if statementHyunmin Lee1-3/+2
2023-02-09mm: replace vma->vm_flags direct modifications with modifier callsSuren Baghdasaryan1-1/+1
2023-02-02mm: refactor va_remove_mappingsChristoph Hellwig1-19/+8
2023-02-02mm: split __vunmapChristoph Hellwig1-43/+41
2023-02-02mm: move debug checks from __vunmap to remove_vm_areaChristoph Hellwig1-9/+9
2023-02-02mm: use remove_vm_area in __vunmapChristoph Hellwig1-21/+12
2023-02-02mm: move __remove_vm_area out of va_remove_mappingsChristoph Hellwig1-6/+4
2023-02-02mm: call vfree instead of __vunmap from delayed_vfree_workChristoph Hellwig1-1/+1
2023-02-02mm: move vmalloc_init and free_work down in vmalloc.cChristoph Hellwig1-53/+51
2023-02-02mm: remove __vfree_deferredChristoph Hellwig1-26/+17
2023-02-02mm: remove __vfreeChristoph Hellwig1-12/+6
2023-02-02mm: reject vmap with VM_FLUSH_RESET_PERMSChristoph Hellwig1-0/+3
2023-01-18mm: vmalloc: replace BUG_ON() by WARN_ON_ONCE()Uladzislau Rezki (Sony)1-1/+3
2023-01-18mm: vmalloc: avoid calling __find_vmap_area() twice in __vunmap()Uladzislau Rezki (Sony)1-31/+48
2023-01-18mm: vmalloc: correct use of __GFP_NOWARN mask in __vmalloc_area_node()Lorenzo Stoakes1-1/+1
2022-11-08mm: vmalloc: use trace_free_vmap_area_noflush eventUladzislau Rezki (Sony)1-1/+5
2022-11-08mm: vmalloc: use trace_purge_vmap_area_lazy eventUladzislau Rezki (Sony)1-2/+7
2022-11-08mm: vmalloc: use trace_alloc_vmap_area eventUladzislau Rezki (Sony)1-0/+5
2022-10-03mm: kmsan: maintain KMSAN metadata for page operationsAlexander Potapenko1-2/+18
2022-09-11mm/vmalloc: extend find_vmap_lowest_match_check with extra argumentsSong Liu1-6/+7
2022-09-11mm/vmalloc.c: support HIGHMEM pages in vmap_pages_range_noflush()Matthew Wilcox1-1/+1
2022-07-03mm/vmalloc: extend __find_vmap_area() with one more argumentUladzislau Rezki (Sony)1-4/+4
2022-07-03mm/vmalloc: initialize VA's list node after unlinkUladzislau Rezki (Sony)1-1/+1
2022-07-03mm/vmalloc: extend __alloc_vmap_area() with extra argumentsUladzislau Rezki (Sony)1-13/+17
2022-07-03mm/vmalloc: make link_va()/unlink_va() common to different rb_rootUladzislau Rezki (Sony)1-12/+48
2022-07-03kasan: fix zeroing vmalloc memory with HW_TAGSAndrey Konovalov1-5/+5
2022-06-27Merge branch 'master' into mm-stableakpm1-1/+1
2022-06-16mm/vmalloc: add code comment for find_vmap_area_exceed_addr()Baoquan He1-2/+3
2022-06-16mm/vmalloc: fix typo in local variable nameBaoquan He1-6/+6
2022-06-16mm/vmalloc: remove the redundant boundary checkBaoquan He1-4/+2
2022-06-16mm/vmalloc: invoke classify_va_fit_type() in adjust_va_to_fit_type()Baoquan He1-17/+6
2022-06-13usercopy: Handle vm_map_ram() areasMatthew Wilcox (Oracle)1-1/+1
2022-05-13mm/vmalloc: use raw_cpu_ptr() for vmap_block_queue accessSebastian Andrzej Siewior1-4/+2
2022-05-13mm: functions may simplify the use of return valuesLi kunyu1-5/+2
2022-04-28vmap(): don't allow invalid pagesYury Norov1-0/+3
2022-04-28mm/vmalloc: fix a commentYixuan Cao1-1/+1
2022-04-22mm/vmalloc: huge vmalloc backing pages should be split rather than compoundNicholas Piggin1-15/+21
2022-04-19vmalloc: replace VM_NO_HUGE_VMAP with VM_ALLOW_HUGE_VMAPSong Liu1-7/+10
2022-04-15mm/vmalloc: fix spinning drain_vmap_work after reading from /proc/vmcoreOmar Sandoval1-11/+0
2022-03-24kasan, vmalloc: only tag normal vmalloc allocationsAndrey Konovalov1-20/+29
2022-03-24kasan, vmalloc: add vmalloc tagging for HW_TAGSAndrey Konovalov1-11/+40
2022-03-24kasan, vmalloc: unpoison VM_ALLOC pages after mappingAndrey Konovalov1-8/+22
2022-03-24kasan, vmalloc, arm64: mark vmalloc mappings as pgprot_taggedAndrey Konovalov1-0/+9
2022-03-24kasan, vmalloc: add vmalloc tagging for SW_TAGSAndrey Konovalov1-6/+8
2022-03-24kasan, vmalloc: reset tags in vmalloc functionsAndrey Konovalov1-3/+9
2022-03-24kasan, x86, arm64, s390: rename functions for modules shadowAndrey Konovalov1-1/+1
2022-03-22mm/vmalloc.c: fix "unused function" warningJiapeng Chong1-11/+11
2022-03-22mm/vmalloc: eliminate an extra orig_gfp_maskUladzislau Rezki (Sony)1-6/+5
2022-03-22mm/vmalloc: add adjust_search_size parameterUladzislau Rezki1-9/+28
2022-03-22mm/vmalloc: Move draining areas out of caller contextUladzislau Rezki (Sony)1-13/+17
2022-03-22mm/vmalloc: remove unneeded function forward declarationMiaohe Lin1-1/+0
2022-03-22mm: merge pte_mkhuge() call into arch_make_huge_pte()Anshuman Khandual1-1/+0
2022-01-15mm/vmalloc: be more explicit about supported gfp flags.Michal Hocko1-6/+8
2022-01-15mm/vmalloc: add support for __GFP_NOFAILMichal Hocko1-5/+17
2022-01-15mm/vmalloc: alloc GFP_NO{FS,IO} for vmallocMichal Hocko1-2/+21
2022-01-15memcg: add per-memcg vmalloc statShakeel Butt1-2/+11
2022-01-15mm: defer kmemleak object creation of module_alloc()Kefeng Wang1-1/+2
2021-11-06mm/vmalloc: introduce alloc_pages_bulk_array_mempolicy to accelerate memory a...Chen Wandun1-4/+16
2021-11-06mm/vmalloc: be more explicit about supported gfp flagsMichal Hocko1-2/+10
2021-11-06kasan: arm64: fix pcpu_page_first_chunk crash with KASAN_VMALLOCKefeng Wang1-0/+1
2021-11-06vmalloc: choose a better start address in vm_area_register_early()Kefeng Wang1-6/+12
2021-11-06vmalloc: back off when the current task is OOM-killedVasily Averin1-0/+3
2021-11-06mm/vmalloc: check various alignments when debuggingUladzislau Rezki (Sony)1-4/+4
2021-11-06mm/vmalloc: do not adjust the search size for alignment overheadUladzislau Rezki (Sony)1-9/+13
2021-11-06mm/vmalloc: make sure to dump unpurged areas in /proc/vmallocinfoEric Dumazet1-1/+2
2021-11-06mm/vmalloc: make show_numa_info() aware of hugepage mappingsEric Dumazet1-3/+3
2021-11-06mm/vmalloc: don't allow VM_NO_GUARD on vmap()Peter Zijlstra1-0/+7
2021-11-06mm/vmalloc: repair warn_alloc()s in __vmalloc_area_node()Vasily Averin1-3/+4
2021-10-28mm/vmalloc: fix numa spreading for large hash tablesChen Wandun1-6/+9
2021-09-08Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-5/+17
2021-09-08mm: don't allow executable ioremap mappingsChristoph Hellwig1-1/+1
2021-09-08mm: move ioremap_page_range to vmalloc.cChristoph Hellwig1-5/+17
2021-09-03mm/vmalloc: fix wrong behavior in vreadChen Wandun1-1/+28
2021-09-03mm/vmalloc: remove gfpflags_allow_blocking() checkUladzislau Rezki (Sony)1-10/+8
2021-09-03mm/vmalloc: use batched page requests in bulk-allocatorUladzislau Rezki (Sony)1-5/+27
2021-07-01mm/vmalloc: include header for prototype of set_iounmap_nonlazyMel Gorman1-0/+3
2021-06-30mm/vmalloc: enable mapping of huge pages at pte level in vmallocChristophe Leroy1-6/+7
2021-06-30mm/vmalloc: enable mapping of huge pages at pte level in vmapChristophe Leroy1-3/+18
2021-06-29mm: vmalloc: add cond_resched() in __vunmap()Rafael Aquini1-0/+1
2021-06-29mm/vmalloc: fallback to a single page allocatorUladzislau Rezki1-29/+52
2021-06-29mm/vmalloc: remove quoted strings split across linesUladzislau Rezki (Sony)1-12/+9
2021-06-29mm/vmalloc: print a warning message first on failureUladzislau Rezki (Sony)1-1/+1
2021-06-29mm/vmalloc: switch to bulk allocator in __vmalloc_area_node()Uladzislau Rezki (Sony)1-34/+42
2021-06-24mm/vmalloc: unbreak kasan vmalloc supportDaniel Axtens1-10/+14
2021-06-24mm/vmalloc: add vmalloc_no_hugeClaudio Imbrenda1-0/+17
2021-05-07mm: fix typos in commentsIngo Molnar1-3/+3
2021-05-07mm/vmalloc: remove vwrite()David Hildenbrand1-115/+1
2021-05-07drivers/char: remove /dev/kmem for goodDavid Hildenbrand1-1/+1
2021-05-05mm/mempool: minor coding style tweaksZhiyuan Dai1-1/+1
2021-04-30mm/vmalloc: remove an empty lineUladzislau Rezki (Sony)1-1/+0
2021-04-30mm/vmalloc: refactor the preloading loagicUladzislau Rezki (Sony)1-33/+27
2021-04-30mm: vmalloc: prevent use after free in _vm_unmap_aliasesVijayanand Jitta1-1/+1
2021-04-30mm/vmalloc: improve allocation failure error messagesNicholas Piggin1-13/+27
2021-04-30mm/vmalloc: remove unmap_kernel_rangeNicholas Piggin1-31/+28
2021-04-30mm/vmalloc: remove map_kernel_rangeNicholas Piggin1-37/+28
2021-04-30mm/vmalloc: hugepage vmalloc mappingsNicholas Piggin1-47/+173
2021-04-30mm/vmalloc: add vmap_range_noflush variantNicholas Piggin1-3/+13
2021-04-30mm: move vmap_range from mm/ioremap.c to mm/vmalloc.cNicholas Piggin1-0/+202
2021-04-30mm/vmalloc: rename vmap_*_range vmap_pages_*_rangeNicholas Piggin1-8/+8
2021-04-30mm/vmalloc: fix HUGE_VMAP regression by enabling huge pages in vmalloc_to_pageNicholas Piggin1-15/+26
2021-04-30mm/vmalloc: use rb_tree instead of list for vread() lookupsSerapheim Dimitropoulos1-1/+4
2021-04-30mm: unexport remap_vmalloc_range_partialChristoph Hellwig1-1/+0
2021-03-08mm: Don't build mm_dump_obj() on CONFIG_PRINTK=n kernelsPaul E. McKenney1-0/+2
2021-02-12Merge branch 'for-mingo-rcu' of git://git.kernel.org/pub/scm/linux/kernel/git...Ingo Molnar1-0/+13
2021-01-22mm: Make mem_obj_dump() vmalloc() dumps include start and lengthPaul E. McKenney1-1/+2