[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Allocate uncached memory on Linux in kernel mode

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

Survive A High-Traffic Event with Percona

Your application or website rely on your database to deliver information about products and services to your customers. You can’t afford to have your database lose performance, lose availability or become unresponsive – even for just a few minutes.

Question has a verified solution.

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

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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…
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 Month13 days, 11 hours left to enroll

656 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