Re: [RFC PATCH 3/3] mm/map_contig: Add mmap(MAP_CONTIG) support

From: Michal Nazarewicz
Date: Tue Oct 17 2017 - 09:22:52 EST


On Tue, Oct 17 2017, Guy Shattah wrote:
> Are you going to be OK with kernel API which implements contiguous
> memory allocation? Possibly with mmap style? Many drivers could
> utilize it instead of having their own weird and possibly non-standard
> way to allocate contiguous memory. Such API won't be available for
> user space.

What you describe sounds like CMA. It may be far from perfect but itâs
there already and drivers which need contiguous memory can allocate it.

--
Best regards
ããã âðððð86â ãããããã
ÂIf at first you donât succeed, give up skydivingÂ