[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
kmalloc with GFP_DMA, or get_free_pages!!!
To allocate memory for DMA operations, i can use kmalloc (,,GFP_DMA.. ). In
which case I need to use get_free_pages? Both the above gives me the
contiguous memory. I understand that get_free_pages gives me in terms of
pages. So it would be more than the memory which i asked for. I am not sure
watz the exact difference between these two.
Could anyone plz lemme know about this?
Thanks
Jalaja
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/