Re: UIO Devices and user processes

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

 



Hi,

Le mardi 06 octobre 2015 à 10:46 -0400, Kenneth Adam Miller a écrit :
> Let me be more precise in general to the overall original question:
> 
> I want a userland process that I designate to only use a specific
> hard coded region physical of memory for it's heap. A UIO driver is
> the means by which I've gone about seeking to achieve this. 
> 

You want brk() and mmap(..., MAP_ANONYMOUS, ...)  to allocate pages
from a contigous physical memory region.

You don't give the reason for such requirement. Without a proper reason
it's difficult to understand what's your trying to achieve.

I can only propose you to use something like CONFIG_MMU=n, but as it's
a system wide choice with multiple drawbacks, I don't think it's
something you want to investigate into.

Regards.

-- 
Yann Droneaud
OPTEYA


_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[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