On Thu, May 1, 2025 at 9:26 PM Alexei Starovoitov alexei.starovoitov@gmail.com wrote:
return vm_iomap_memory(vma, virt_to_phys(__start_BTF), btf_size);
and this one should probably be vm_insert_pages(). Since it's not an IO area.
FYI I went with open coding with remap_pfn_range since that allows me to avoid struct page.
Lorenz