Daniel Jacques (Alten) wrote:
> Hi,
> 
> I noticed some allocation failure using kmalloc in case of GFP_DMA32 with big 
> size, even if I modified the CONFIG_FORCE_MAX_ZONEORDER to be coherent with 
> my max size (32MB).
> I don't know the reason of this failure. I am interesting by any idea about 
> this point ...
> Meanwhile, to avoid this trouble I performed the following additional patch 
> in ksrc/nucleus/heap.c to force using of __get_free_pages instead of kmalloc 
> in case of GFP_DMA32 flag.
> Jacques

At this point, the problem seems to be in linux code. So, there should
be no need to modify xenomai code. Are you sure that kmalloc does not
fail due to fragmentation?

-- 
                                            Gilles.

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to