• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1531
  • Last Modified:

Allocate uncached memory on Linux in kernel mode

I'm using Linux 2.6. I run in kernel mode. I need to allocate some uncached memory. Is there a way?
0
ESQuicksall
Asked:
ESQuicksall
1 Solution
 
pjedmondCommented:
Looks as if it should be possible:

arch/i386/kernel/uncached.c

code 'seems' to allow such a thing to happen....*BUT*, I'm not sure as to what precautions and rules you need to obey should you wish to do this!

http://www.linuxhq.com/kernel/v2.6/13/lib/genalloc.c

seems to imply that genalloc should be used for requesting uncached memory.

Never done this before, and have no knowledge of the limits or restrictive guidelines I'm afraid:(

(   (()
(`-' _\
 ''  ''
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now