All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] accessing process' virtual memory areas from driver
@ 2012-07-24 19:48 Jorge Ramirez Ortiz,  HCL Europe
  2012-07-25  9:46 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 2+ messages in thread
From: Jorge Ramirez Ortiz,  HCL Europe @ 2012-07-24 19:48 UTC (permalink / raw)
  To: xenomai@xenomai.org

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 


::DISCLAIMER::
----------------------------------------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted,
lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents
(with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates.
Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the
views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification,
distribution and / or publication of this message without the prior written consent of authorized representative of
HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately.
Before opening any email and/or attachments, please check them for viruses and other defects.

----------------------------------------------------------------------------------------------------------------------------------------------------



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Xenomai] accessing process' virtual memory areas from driver
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Gilles Chanteperdrix @ 2012-07-25  9:46 UTC (permalink / raw)
  To: Jorge Ramirez Ortiz, HCL Europe; +Cc: xenomai@xenomai.org

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-07-25  9:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.