From: "bibo,mao" <bibo.mao@intel.com>
To: Andi Kleen <ak@suse.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] x86_64 add NX mask for PTE entry
Date: Wed, 18 Oct 2006 19:45:58 +0800 [thread overview]
Message-ID: <453613F6.7020800@intel.com> (raw)
In-Reply-To: <45360E99.7020001@intel.com>
Also I think change_page_attr is buggy. if orginal page is not
large page, when that page's previous attr is reverted revert_page()
function will be called to make that page huge. Indeed I think
there is no need to do this.
thanks
bibo,mao
bibo,mao wrote:
> Andi Kleen wrote:
>> On Wednesday 18 October 2006 11:15, bibo,mao wrote:
>>> Hi,
>>> If function change_page_attr_addr calls revert_page to revert
>>> to original pte value, mk_pte_phys does not mask NX bit. If NX bit
>>> is set on no NX hardware supported x86_64 machine, there is will
>>> be RSVD type page fault and system will crash. This patch adds NX
>>> mask bit for PTE entry.
>>
>> Hmm, weird. I wonder why that didn't trip up earlier. Did you
>> actually see that happening?
> I remember previous system worked well on 2.6.12 and 2.6.13 version,
> but recently even on older kernel(2.6.9) there will be many times of
> page fault error and system crashes at last when rebooting system.
>
> I will paste the oops message tomorrow.
>
> thanks
> bibo,mao
>>
>>
>> -Andi
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
next prev parent reply other threads:[~2006-10-18 11:46 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-18 9:15 [PATCH] x86_64 add NX mask for PTE entry bibo,mao
2006-10-18 10:58 ` Andi Kleen
2006-10-18 11:23 ` bibo,mao
2006-10-18 11:45 ` bibo,mao [this message]
2006-10-18 13:15 ` Andi Kleen
2006-10-19 1:35 ` bibo,mao
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=453613F6.7020800@intel.com \
--to=bibo.mao@intel.com \
--cc=ak@suse.de \
--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.