From: Thomas Lockhart <Thomas.Lockhart@domain.hid>
To: Wolfgang Denk <wd@domain.hid>
Cc: "xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] Some problems with shared memory
Date: Tue, 05 May 2009 09:36:13 -0700 [thread overview]
Message-ID: <4A006AFD.1030409@domain.hid> (raw)
In-Reply-To: <20090504180134.D9D5283420E8@domain.hid>
[-- Attachment #1: Type: text/plain, Size: 879 bytes --]
> But the problem that the origonal poster reported was a restriction
> of the "length" parameter - his test seems to demonstrate that
> under Xenomai the legth must be a multiple of the page sise, while in
> plain Linux no such restriction exists (I can provide test code for
> that case, if wanted).
Hmm. My code does round the length to a multiple of the page size too.
I'm pretty sure I would not have done this if it was not required but my
svn notes are not explicit on this. The man page could be considered
ambiguous: "EINVAL We don't like start, length, or offset (e.g.,
they are too large, or not aligned on a page boundary)." but only with a
liberal reading of the sentence.
hth
- Tom
--
Thomas Lockhart
Supervisor, Distributed and Real-time Group
Instrument Software and Science Data Systems
Caltech/JPL
[-- Attachment #2: Type: text/html, Size: 1453 bytes --]
next prev parent reply other threads:[~2009-05-05 16:36 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-30 9:31 [Xenomai-help] Some problems with shared memory roderik.wildenburg
2009-03-30 12:14 ` Gilles Chanteperdrix
2009-03-31 11:52 ` roderik.wildenburg
2009-04-06 8:47 ` roderik.wildenburg
2009-05-03 20:21 ` Gilles Chanteperdrix
2009-05-04 7:23 ` Wolfgang Denk
2009-05-04 8:49 ` Gilles Chanteperdrix
2009-05-04 15:24 ` Thomas Lockhart
2009-05-04 18:01 ` Wolfgang Denk
2009-05-04 18:33 ` Gilles Chanteperdrix
2009-05-05 12:16 ` roderik.wildenburg
2009-05-29 18:42 ` Gilles Chanteperdrix
2009-06-08 8:25 ` roderik.wildenburg
2009-06-08 20:36 ` Gilles Chanteperdrix
2009-06-09 6:30 ` roderik.wildenburg
2009-06-09 13:28 ` Philippe Gerum
2009-06-09 13:38 ` Philippe Gerum
2009-06-10 11:47 ` roderik.wildenburg
2009-06-12 14:06 ` Philippe Gerum
2009-06-16 13:20 ` roderik.wildenburg
2009-06-16 13:45 ` Philippe Gerum
2009-06-17 11:40 ` roderik.wildenburg
2009-06-17 14:19 ` Philippe Gerum
2009-06-18 8:37 ` roderik.wildenburg
2009-06-18 8:51 ` Philippe Gerum
2009-05-05 16:36 ` Thomas Lockhart [this message]
2009-05-05 19:03 ` Wolfgang Denk
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=4A006AFD.1030409@domain.hid \
--to=thomas.lockhart@domain.hid \
--cc=wd@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.