On Thu, Apr 24, 2008 at 2:01 PM, Fillod Stephane
> Gilles Chanteperdrix wrote:
>  > This patch adds architecture independent support for non cached memory
>  > mappings. This is necessary on ARM architecture with VIVT cache to
>  share a
>  >mapping between kernel and user-space, but may be used in other
>  situations
>  > (who knows).
>  So, the difference between H_DMA and H_NONCACHED would be that
>  may not be physically contiguous, while H_DMA (that is physically
>  contiguous)
>  may still be cached on cache coherent systems. Is that correct?

The memory allocated with kmalloc is mapped at boot time, and mapped
with cache enabled, so if we want to get non cached memory, we have to
remap it with vmalloc. So yes, it will probably not be contiguous.

>  PS: any plan on a H_HUGETLB one of those days?

What would this do ?


Xenomai-core mailing list

Reply via email to