# Allocating uncached memory in 2.6.25(powerpc/440)

- From: vb \<hidden\>
- Date: 2008-09-19 21:47:19 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2008/09/9446016
- Thread: https://ratatoskr.run/linuxppc-dev/2008/09/9446016/t.md

```text
I wonder if anyone can help with some hints in this situation:

here is a code fragment to illustrate my question:

if ((ai = kmalloc(sizeof(alloc_info_t) + 4 * szw, GFP_ATOMIC |
GFP_DMA)) != NULL) {
        ai->src = FROM_KMALLOC;
printk("\n%s:%d %p\n", __FUNCTION__, __LINE__, ai);
 while(szw) {
```
