Messages in this thread | | | Date | Mon, 19 Apr 2021 08:36:30 +0200 | From | Christoph Hellwig <> | Subject | Re: [Resend RFC PATCH V2 07/12] HV/Vmbus: Initialize VMbus ring buffer for Isolation VM |
| |
On Thu, Apr 15, 2021 at 04:24:15PM -0400, Konrad Rzeszutek Wilk wrote: > So you are exposing these two: > EXPORT_SYMBOL_GPL(get_vm_area); > EXPORT_SYMBOL_GPL(ioremap_page_range); > > But if you used vmap wouldn't you get the same thing for free?
Yes, this needs to go into some vmap version, preferably reusing the existing code in kernel/dma/remap.c.
Exporting get_vm_area is a complete dealbreaker and not going to happen. We worked hard on not exposing it to modules.
| |