All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rodrigo Rosenfeld Rosas <lbocseg@domain.hid>
To: Jan Kiszka <jan.kiszka@domain.hid>
Cc: xenomai-core <xenomai@xenomai.org>
Subject: Re: [Xenomai-core] RTDM mmap and vm_operations
Date: Thu, 09 Mar 2006 11:36:33 -0300	[thread overview]
Message-ID: <44103D71.5040300@domain.hid> (raw)
In-Reply-To: <440F3354.3010106@domain.hid>


Jan Kiszka escreveu:
> Rodrigo Rosenfeld Rosas wrote:
>   
>> Hi Jan,
>>
>> Is there a way of knowing what was the src_addr or pptr data passed to 
>> rtdm_mmap_to_user without using the vm_private_data struct? I mean, can I 
>> obtain those information directly in the vma struct passed to the close 
>> handler? If so, I could pass a more generic struct to vm_private and use 
>> those information,making my life a bit easier... :)
>>     
>
> I do not see a clean, official way right now. It would definitely be
> something you have to obtain via vma_area_struct or something that's
> contained in it. The information is likely there - somewhere. But I
> doubt that obtaining it would make your code very portable across
> different kernel versions.
>   
Ok, don't worry Jan. I was wondering if there was a portable easy way of 
obtaining those data, like a member of vma struct, but if not, there is 
no problem. I'll include these values in the private data struct.

Rodrigo.


		
_______________________________________________________
Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador agora!
http://br.acesso.yahoo.com



      reply	other threads:[~2006-03-09 14:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-08 18:58 [Xenomai-core] RTDM mmap and vm_operations Rodrigo Rosenfeld Rosas
2006-03-08 19:41 ` Jan Kiszka
2006-03-09 14:36   ` Rodrigo Rosenfeld Rosas [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=44103D71.5040300@domain.hid \
    --to=lbocseg@domain.hid \
    --cc=jan.kiszka@domain.hid \
    --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.