All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: "Jorge Ramirez Ortiz, HCL Europe" <Jorge.Ramirez-Ortiz@hcl.com>
Cc: "xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: Re: [Xenomai] accessing process' virtual memory areas from driver
Date: Wed, 25 Jul 2012 11:46:59 +0200	[thread overview]
Message-ID: <500FC093.4070905@xenomai.org> (raw)
In-Reply-To: <4F534D1A615F544D95E57BFD8460658301CBE3E3@GEO-HCLT-UKEVS1.GEO.CORP.HCL.IN>

On 07/24/2012 09:48 PM, Jorge Ramirez Ortiz, HCL Europe wrote:

> On a Xenomai multi-threaded application,  I need to access the
> process list of virtual memory areas in an rtdm driver. Since this
> region is protected by mmap_sem, I am unsure how to perform the
> access. Any guidance will be appreciated. thanks Jorge


>From real-time domain, you can not do it: the mmap_sem data may not be
in a coherent state, so do the vma list.

>From Linux domain, no problem, just take the mmap_sem.

-- 
                                                                Gilles.


      reply	other threads:[~2012-07-25  9:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-24 19:48 [Xenomai] accessing process' virtual memory areas from driver Jorge Ramirez Ortiz,  HCL Europe
2012-07-25  9:46 ` Gilles Chanteperdrix [this message]

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=500FC093.4070905@xenomai.org \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=Jorge.Ramirez-Ortiz@hcl.com \
    --cc=xenomai@xenomai.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.