From: Keith Owens <kaos@ocs.com.au>
To: linux-kernel@vger.kernel.org
Subject: 2.4.13-ac8 current() changes
Date: Tue, 06 Nov 2001 16:38:24 +1100 [thread overview]
Message-ID: <17745.1005025104@ocs3.intra.ocs.com.au> (raw)
2.4.13-ac8 changed get_current() to use cr2 instead of esp and
introduced hard_get_current() which uses esp. The comment on
hard_get_current() in include/asm-i386/smp.h says "for within NMI,
do_page_fault, cpu_init". But NMI, do_page_fault and cpu_init can
execute other code, any references to current() in that other code will
use get_current() instead of hard_get_current().
How is generic code called from NMI etc. meant to know which version of
current() to use? Usage of current() is hidden inside a lot of other
macros, this change looks like a data mismatch just waiting to bite us.
reply other threads:[~2001-11-06 5:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=17745.1005025104@ocs3.intra.ocs.com.au \
--to=kaos@ocs.com.au \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®