aboutsummaryrefslogtreecommitdiffstats
path: root/mm/vmalloc.c
AgeCommit message (Expand)AuthorFilesLines
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
2020-06-02mm: don't return the number of pages from map_kernel_range{,_noflush}Christoph Hellwig1-2/+2
2020-06-02mm: rename vmap_page_range to map_kernel_rangeChristoph Hellwig1-6/+5
2020-06-02mm: remove vmap_page_range_noflush and vunmap_page_rangeChristoph Hellwig1-58/+40
2020-06-02mm: pass addr as unsigned long to vb_freeChristoph Hellwig1-9/+7
2020-06-02mm: only allow page table mappings for built-in zsmallocChristoph Hellwig1-2/+0
2020-06-02mm: unexport unmap_kernel_range_noflushChristoph Hellwig1-1/+0
2020-06-02mm: remove __get_vm_areaChristoph Hellwig1-8/+0
2020-04-21vmalloc: fix remap_vmalloc_range() bounds checksJann Horn1-3/+13
2020-04-07mm/vmalloc: fix a typo in commentQiujun Huang1-1/+1
2020-03-21x86/mm: split vmalloc_sync_all()Joerg Roedel1-4/+7
2020-01-20Merge tag 'v5.5-rc7' into efi/core, to pick up fixesIngo Molnar1-2/+2
2020-01-13mm, debug_pagealloc: don't rely on static keys too earlyVlastimil Babka1-2/+2
2020-01-10Merge branch 'x86/mm' into efi/core, to pick up dependenciesIngo Molnar1-0/+8
2019-12-17kasan: don't assume percpu shadow allocations will succeedDaniel Axtens1-10/+38
2019-12-17kasan: fix crashes on access to memory mapped by vm_map_ram()Andrey Ryabinin1-45/+40
2019-12-10mm, x86/mm: Untangle address space layout definitions from basic pgtable type...Ingo Molnar1-0/+8
2019-12-01kasan: support backing vmalloc space with real shadow memoryDaniel Axtens1-8/+48
2019-12-01mm/vmalloc: rework vmap_area_lockUladzislau Rezki (Sony)1-30/+50
2019-12-01mm/vmalloc: add more comments to the adjust_va_to_fit_type()Uladzislau Rezki (Sony)1-0/+13
2019-12-01mm/vmalloc: respect passed gfp_mask when doing preloadingUladzislau Rezki (Sony)1-4/+4
2019-12-01mm/vmalloc: remove preempt_disable/enable when doing preloadingUladzislau Rezki (Sony)1-17/+20
2019-12-01mm/vmalloc.c: remove unnecessary highmem_mask from parameter of gfpflags_allo...Liu Xiang1-1/+1
2019-11-18bpf: Add mmap() support for BPF_MAP_TYPE_ARRAYAndrii Nakryiko1-0/+20
2019-09-25augmented rbtree: add new RB_DECLARE_CALLBACKS_MAX macroMichel Lespinasse1-3/+2