aboutsummaryrefslogtreecommitdiffstats
path: root/mm/vmalloc.c
AgeCommit message (Expand)AuthorFilesLines
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
2021-01-22mm: Make mem_dump_obj() handle vmalloc() memoryPaul E. McKenney1-0/+12
2021-01-12mm/vmalloc.c: fix potential memory leakMiaohe Lin1-1/+3
2020-12-15mm/vmalloc.c: fix kasan shadow poisoning sizeVincenzo Frascino1-1/+1
2020-12-15mm/vmalloc: Fix unlock order in s_stop()Waiman Long1-2/+2
2020-12-15mm/vmalloc.c: remove unnecessary return statementBaolin Wang1-1/+0
2020-12-15mm/vmalloc: add 'align' parameter explanation for pvm_determine_end_from_reverseAlex Shi1-0/+1
2020-12-15mm/vmalloc: rework the drain logicUladzislau Rezki (Sony)1-40/+50
2020-12-15mm/vmalloc: use free_vm_area() if an allocation failsUladzislau Rezki (Sony)1-2/+1
2020-12-15mm/vmalloc.c:__vmalloc_area_node(): avoid 32-bit overflowAndrew Morton1-1/+3
2020-10-18mm: remove the filename in the top of file comment in vmalloc.cChristoph Hellwig1-2/+0
2020-10-18mm: cleanup the gfp_mask handling in __vmalloc_area_nodeChristoph Hellwig1-12/+10
2020-10-18mm: remove alloc_vm_areaChristoph Hellwig1-48/+0
2020-10-18mm: add a vmap_pfn functionChristoph Hellwig1-0/+45
2020-10-18mm: add a VM_MAP_PUT_PAGES flag for vmapChristoph Hellwig1-2/+7
2020-10-18mm: update the documentation for vfreeMatthew Wilcox (Oracle)1-10/+11
2020-10-13mm/vmalloc.c: fix the comment of find_vm_areaHui Su1-2/+2
2020-10-13mm/vmalloc.c: update the comment in __vmalloc_area_node()Hui Su1-1/+1
2020-08-21mm/vunmap: add cond_resched() in vunmap_pmd_rangeAneesh Kumar K.V1-0/+2
2020-08-07mm/vmalloc.c: remove BUG() from the find_va_links()Uladzislau Rezki (Sony)1-9/+32
2020-08-07mm: vmalloc: remove redundant assignment in unmap_kernel_range_noflush()Mike Rapoport1-1/+0
2020-08-07mm/vmalloc: update the header about KVA reworkUladzislau Rezki (Sony)1-0/+1
2020-08-07mm/vmalloc: switch to "propagate()" callbackUladzislau Rezki (Sony)1-19/+6
2020-08-07mm/vmalloc: simplify augment_tree_propagate_check()Uladzislau Rezki (Sony)1-34/+8
2020-08-07mm/vmalloc: simplify merge_or_add_vmap_area()Uladzislau Rezki (Sony)1-11/+14
2020-08-07vmalloc: convert to XArrayMatthew Wilcox (Oracle)1-29/+11
2020-08-07mm: move p?d_alloc_track to separate header fileJoerg Roedel1-0/+1
2020-06-26mm: remove vmalloc_execChristoph Hellwig1-20/+0
2020-06-26mm/vmalloc.c: fix a warning while make xmldocsMasanari Iida1-1/+0
2020-06-04mm/vmalloc: fix a typo in commentJeongtae Park1-1/+1
2020-06-02mm: remove vmalloc_sync_(un)mappings()Joerg Roedel1-21/+0
2020-06-02mm/vmalloc: track which page-table levels were modifiedJoerg Roedel1-26/+69
2020-06-02mm: remove vmalloc_user_node_flagsChristoph Hellwig1-20/+0
2020-06-02mm: switch the test_vmalloc module to use __vmalloc_nodeChristoph Hellwig1-9/+8
2020-06-02mm: remove __vmalloc_node_flags_callerChristoph Hellwig1-9/+1
2020-06-02mm: remove both instances of __vmalloc_node_flagsChristoph Hellwig1-14/+6
2020-06-02mm: remove the prot argument to __vmalloc_nodeChristoph Hellwig1-21/+14
2020-06-02mm: remove the pgprot argument to __vmallocChristoph Hellwig1-2/+2
2020-06-02mm: enforce that vmap can't map pages executableChristoph Hellwig1-1/+1
2020-06-02mm: remove the prot argument from vm_map_ramChristoph Hellwig1-2/+2
2020-06-02mm: remove unmap_vmap_areaChristoph Hellwig1-9/+1
2020-06-02mm: remove map_vm_rangeChristoph Hellwig1-14/+7