All of lore.kernel.org
 help / color / mirror / Atom feed
From: ydroneaud@opteya.com (Yann Droneaud)
To: kernelnewbies@lists.kernelnewbies.org
Subject: UIO Devices and user processes
Date: Tue, 06 Oct 2015 17:04:39 +0200	[thread overview]
Message-ID: <1444143879.3188.60.camel@opteya.com> (raw)
In-Reply-To: <CAK7rcp9Rxp8cF8DkH8zYXY54Ckb6aZMyQ7UA9Uh2kZQBx57htA@mail.gmail.com>

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

  reply	other threads:[~2015-10-06 15:04 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-05 23:07 UIO Devices and user processes Kenneth Adam Miller
2015-10-06  5:21 ` Greg KH
2015-10-06 13:26   ` Kenneth Adam Miller
2015-10-06 13:57     ` Greg KH
2015-10-06 14:03       ` Kenneth Adam Miller
2015-10-06 13:58     ` Yann Droneaud
2015-10-06 14:13       ` Kenneth Adam Miller
2015-10-06 14:32         ` Yann Droneaud
2015-10-06 14:41           ` Kenneth Adam Miller
2015-10-06 14:46             ` Kenneth Adam Miller
2015-10-06 15:04               ` Yann Droneaud [this message]
2015-10-06 15:10                 ` Kenneth Adam Miller
2015-10-07 17:02               ` Greg KH
2015-10-07 18:10                 ` Kenneth Adam Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1444143879.3188.60.camel@opteya.com \
    --to=ydroneaud@opteya.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.