Allocate uncached memory on Linux in kernel mode

I'm using Linux 2.6. I am in kernel mode. I need to allocate uncached memory. Does anyone know which function to use?
ESQuicksallAsked:
Who is Participating?
 
Davidshc76Connect With a Mentor Commented:
Please refer to follow site

http://www.surriel.com/zone-alloc.html
0
 
Ralf KlattConnect With a Mentor Principal ConsultantCommented:
Hi,

My suggestion would be studying the following PDF: http://www.gelato.unsw.edu.au/papers/peterc/2004/LCA/paper.pdf

@Davidshc76 ... without wanting to be offending but, why didn't you suggest to place "Allocate uncached memory on Linux in kernel mode" at Google and select the #1 result?


Best regards,
Raisor
0
 
ESQuicksallAuthor Commented:
I looked at http://www.surriel.com/zone-alloc.html and it impies that ZONE_SLOW can be used.
I also looked at http://www.gelato.unsw.edu.au/papers/peterc/2004/LCA/paper.pdf. It lookslike usr_pci_map() should do it.

Thanks guys, I'll split the points.
0
All Courses

From novice to tech pro — start learning today.