From: Ingo Molnar <mingo@elte.hu>
To: "Seth, Rohit" <rohit.seth@intel.com>
Cc: Kirill Korotaev <dev@sw.ru>, Linus Torvalds <torvalds@osdl.org>,
"Saxena, Sunil" <sunil.saxena@intel.com>,
"Pallipadi, Venkatesh" <venkatesh.pallipadi@intel.com>,
Andrey Savochkin <saw@sawoct.com>,
linux-kernel@vger.kernel.org
Subject: Re: possible CPU bug and request for Intel contacts
Date: Sun, 13 Feb 2005 21:10:06 +0100 [thread overview]
Message-ID: <20050213201006.GA28783@elte.hu> (raw)
In-Reply-To: <01EF044AAEE12F4BAAD955CB7506494302E88991@scsmsx401.amr.corp.intel.com>
* Seth, Rohit <rohit.seth@intel.com> wrote:
> On a little different note, while running the 4G-4G kernel on our
> machine, we saw occasional hangs. Those are root caused to the fact
> that this kernel was first chaging the stack pointer from virtual
> stack to kernel and then changing the CR3 to that of kernel. Any
> interrupt between these two instructions will result in those hangs as
> the interruption handler will execute with user's CR3(as the kernel
> thinks that it is already in kernel because of the value of esp).
> Swapping the order, first loading the CR3 with kernel and then
> switching the stack to kernel fixes this issue. Venki will generate
> that patch and send to lkml.
i'm not sure what you mean. Here's the relevant 4:4 code from Fedora:
#define __SWITCH_KERNELSPACE \
...
movl %edx, %cr3; \
movl %ebx, %esp; \
i.e. we _first_ load cr3 with the kernel pagetable value, then do we
switch esp to the real kernel stack.
Ingo
next prev parent reply other threads:[~2005-02-13 20:10 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-26 1:38 possible CPU bug and request for Intel contacts Seth, Rohit
2005-02-13 20:10 ` Ingo Molnar [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-02-14 16:55 Pallipadi, Venkatesh
2005-01-25 7:22 Seth, Rohit
2005-01-25 14:12 ` Kirill Korotaev
2005-01-25 7:15 Seth, Rohit
2005-01-22 3:02 Seth, Rohit
2005-01-24 9:51 ` Kirill Korotaev
[not found] <01EF044AAEE12F4BAAD955CB7506494302DFE109@scsmsx401.amr.corp.intel.com>
2005-01-21 12:46 ` Kirill Korotaev
2005-01-22 10:03 ` Pavel Machek
2005-01-19 16:07 Kirill Korotaev
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=20050213201006.GA28783@elte.hu \
--to=mingo@elte.hu \
--cc=dev@sw.ru \
--cc=linux-kernel@vger.kernel.org \
--cc=rohit.seth@intel.com \
--cc=saw@sawoct.com \
--cc=sunil.saxena@intel.com \
--cc=torvalds@osdl.org \
--cc=venkatesh.pallipadi@intel.com \
/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.