Re: Contiguous memory allocator

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  cma_declare_contiguous() allocates memory from memblock.
 cma_init_reserved_mem() initialize the memory. Then the memory is given to
    buddy allocator with migration type MIGRATE_MOVABLE. when CMA needs those    pages, it can take it from buddy allocator.
 
  We are supposed to use equivalent DMA api dma_declare_contiguous().
    dma_declare_contiguous() calls cma_declare_contiguous().
   
http://lxr.free-electrons.com/source/arch/arm/mach-davinci/devices-da8xx.c#L833
   
   Regards
    Manoj Nayak
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux