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
Solved

Allocate uncached memory on Linux in kernel mode

Posted on 2006-07-08
3
930 Views
Last Modified: 2012-08-14
I'm using Linux 2.6. I am in kernel mode. I need to allocate uncached memory. Does anyone know which function to use?
0
Comment
Question by:ESQuicksall
3 Comments
 
LVL 5

Accepted Solution

by:
Davidshc76 earned 125 total points
ID: 17066597
Please refer to follow site

http://www.surriel.com/zone-alloc.html
0
 
LVL 15

Assisted Solution

by:Raisor
Raisor earned 125 total points
ID: 17069676
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
 

Author Comment

by:ESQuicksall
ID: 17100511
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

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

856 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