From: James Cownie <jcownie@etnus.com>
To: linux-kernel@vger.kernel.org
Subject: Compaq Alpha: missing i-cache invalidates in ptrace (2.2.18, 2.4.0) ?
Date: Thu, 15 Feb 2001 12:23:27 +0000 [thread overview]
Message-ID: <14TNRY-4xc-00@etnus.com> (raw)
I've been seeing some peculiar effects on Alpha boxes (particularly on
SMPs) where threads run right past breakpoints planted by a debugger.
(This on 2.2 series kernels).
Looking at the code in arch/alpha/kernel/ptrace.c there appears to be
nowhere where flush_icache_range is called. According to the Alpha
architecture manual you must execute a "call_pal imb" (which is what
flush_icache_range turns into) after changing the I-stream.
So :-
1) Anyone agree with me that flush_icache_range ought to be called
after any ptrace write which modifies an executable page ?
(Or have I missed something which has this effect ?)
2) If so, would patches be accepted ?
The same problem also appears to exist in 2.4...
Thanks
-- Jim
James Cownie <jcownie@etnus.com>
Etnus, LLC. +44 117 9071438
http://www.etnus.com
next reply other threads:[~2001-02-15 12:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-15 12:23 James Cownie [this message]
[not found] <Pine.LNX.3.96.1010215062856.5873D-100000@mandrakesoft.mandrakesoft.com>
2001-02-15 13:32 ` Compaq Alpha: missing i-cache invalidates in ptrace (2.2.18, 2.4.0) ? James Cownie
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=14TNRY-4xc-00@etnus.com \
--to=jcownie@etnus.com \
--cc=linux-kernel@vger.kernel.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.