?
Solved

Allocate uncached memory on Linux in kernel mode

Posted on 2006-07-08
1
Medium Priority
?
1,495 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 750 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

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

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 …
This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month12 days, 11 hours left to enroll

777 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