From: Jan Kiszka <jan.kiszka@domain.hid>
To: Philippe Gerum <rpm@xenomai.org>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-core] [Xenomai-commits] r3147 - __xn_access_ok changes
Date: Sun, 04 Nov 2007 22:19:20 +0100 [thread overview]
Message-ID: <472E3758.3060304@domain.hid> (raw)
In-Reply-To: <E1Ioj7Q-0004EI-JX@subversion.gna.org>
[-- Attachment #1: Type: text/plain, Size: 998 bytes --]
[Let's discuss this without bothering users :)]
Philippe Gerum wrote:
> Author: rpm
> Date: Sun Nov 4 18:18:39 2007
> New Revision: 3147
>
> URL: http://svn.gna.org/viewcvs/xenomai?rev=3147&view=rev
> Log:
> Make __xn_access_ok() return false for addresses lower than the natural page size.
>
> Modified:
> trunk/ChangeLog
> trunk/include/asm-x86/syscall_32.h
> trunk/include/asm-x86/syscall_64.h
Could it be that you meant "PAGE_SIZE" instead of "PAGE_OFFSET"? Because
the current version is "slightly" broken, tagging any address in user
land as invalid.
And if this test was meant to catch NULL page accesses early, is the
intention to cope with all those current i-pipe patches that do not yet
include the discussed domain switch on non-root faults? If yes, this
test would be a workaround for legacy code and should not become default
(pure overhead for later versions).
Last question: We need this for the other archs as well, don't we?
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 249 bytes --]
next parent reply other threads:[~2007-11-04 21:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1Ioj7Q-0004EI-JX@subversion.gna.org>
2007-11-04 21:19 ` Jan Kiszka [this message]
2007-11-04 21:40 ` [Xenomai-core] [Xenomai-commits] r3147 - __xn_access_ok changes Gilles Chanteperdrix
2007-11-05 17:57 ` Philippe Gerum
2007-11-05 19:20 ` Jan Kiszka
2007-11-05 20:00 ` Jan Kiszka
2007-11-05 23:06 ` Philippe Gerum
2007-11-06 6:20 ` Jan Kiszka
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=472E3758.3060304@domain.hid \
--to=jan.kiszka@domain.hid \
--cc=rpm@xenomai.org \
--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.