From: Jan Kiszka <jan.kiszka@domain.hid>
To: Rodrigo Rosenfeld Rosas <lbocseg@domain.hid>
Cc: xenomai-core <xenomai@xenomai.org>
Subject: Re: [Xenomai-core] RTDM mmap and vm_operations
Date: Wed, 08 Mar 2006 20:41:08 +0100 [thread overview]
Message-ID: <440F3354.3010106@domain.hid> (raw)
In-Reply-To: <200603081558.02034.lbocseg@domain.hid>
[-- Attachment #1: Type: text/plain, Size: 727 bytes --]
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.
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]
next prev parent reply other threads:[~2006-03-08 19:41 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 [this message]
2006-03-09 14:36 ` Rodrigo Rosenfeld Rosas
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=440F3354.3010106@domain.hid \
--to=jan.kiszka@domain.hid \
--cc=lbocseg@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.