Solved

Allocate uncached memory on Linux in kernel mode

Posted on 2006-07-08
1
1,478 Views
Last Modified: 2007-02-13
I'm using Linux 2.6. I run in kernel mode. I need to allocate some uncached memory. Is there a way?
0
Comment
Question by:ESQuicksall
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 22

Accepted Solution

by:
pjedmond earned 250 total points
ID: 17066481
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

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question