Re: Calling sys_mlock() from within a driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Arjan van de Ven wrote:

so... how about giving a lot more details about WHY and WHAT you are
trying to achieve.... maybe even an URL to a preliminary draft of your
code ??

http://www.ammasso.com/Amso1100-1.0.0_ga-2.tar

It's very simple.  I'm trying to lock a user-space buffer in memory and
obtain a list of physical addresses for that buffer.  Obtaining a list
of physical addresses is easy.  Locking the buffer down seems to be the
problem.  We try using the kiobuf functions, but 1) they're gone in 2.6,
and 2) they don't really work, since kswapd will still page-out pages in
the supposedly-locked buffer.

--
Timur Tabi
Staff Software Engineer
timur.tabi@ammasso.com



--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux