login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
November
»
22
Re: -tip tree resume fail, bisect to 5bd5a45(x86: Add NX protection for kernel data)
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: castet.matthieu
Subject:
Re: -tip tree resume fail, bisect to 5bd5a45(x86: Add NX protection for kernel data)
Date: Monday, November 22, 2010 - 9:29 am
Hi, Quoting Peter Zijlstra <peterz@infradead.org>:
quoted text
> On Mon, 2010-11-22 at 15:23 +0800, Lin Ming wrote: > > Hi, all > > > > Current -tip tree(92c883a) fail to resume after suspend to mem. > > Bisect to commit 5bd5a45(x86: Add NX protection for kernel data). > > Drad, if only I'd looked at LKML before I did the bisection myself.. > > > commit 5bd5a452662bc37c54fb6828db1a3faf87e6511c > > Author: Matthieu Castet <castet.matthieu@free.fr> > > Date: Tue Nov 16 22:31:26 2010 +0100 > > > > x86: Add NX protection for kernel data > > > > > > I did some debug and found the regression is caused by below line. > > > > - set_memory_nx(rodata_start, (end - rodata_start) >> PAGE_SHIFT); > > + set_memory_nx(rodata_start, (kernel_end - rodata_start) >> > PAGE_SHIFT); > > > Confirmed, with that hunk reverted my machine works again.. >
Ok, I will submit a proper fix : in acpi_save_state_mem/acpi_restore_state_mem make the trampoline X or NX. Matthieu --
unsubscribe notice
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/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
-tip tree resume fail, bisect to 5bd5a45(x86: Add NX prote ...
, Lin Ming
, (Mon Nov 22, 12:23 am)
Re: -tip tree resume fail, bisect to 5bd5a45(x86: Add NX p ...
, Ingo Molnar
, (Mon Nov 22, 1:07 am)
Re: -tip tree resume fail, bisect to 5bd5a45(x86: Add NX p ...
, Andi Kleen
, (Mon Nov 22, 2:20 am)
Re: -tip tree resume fail, bisect to 5bd5a45(x86: Add NX p ...
, castet.matthieu
, (Mon Nov 22, 3:29 am)
Re: -tip tree resume fail, bisect to 5bd5a45(x86: Add NX p ...
, Andi Kleen
, (Mon Nov 22, 3:47 am)
Re: -tip tree resume fail, bisect to 5bd5a45(x86: Add NX p ...
, Peter Zijlstra
, (Mon Nov 22, 6:03 am)
[tip:x86/security] x86: Resume trampoline must be executable
, tip-bot for Lin Ming
, (Mon Nov 22, 6:42 am)
Re: -tip tree resume fail, bisect to 5bd5a45(x86: Add NX p ...
, castet.matthieu
, (Mon Nov 22, 9:29 am)
Re: -tip tree resume fail, bisect to 5bd5a45(x86: Add NX p ...
, Peter Zijlstra
, (Mon Nov 22, 9:35 am)
Re: -tip tree resume fail, bisect to 5bd5a45(x86: Add NX p ...
, Andi Kleen
, (Mon Nov 22, 9:42 am)
Re: -tip tree resume fail, bisect to 5bd5a45(x86: Add NX p ...
, mat
, (Tue Nov 23, 3:55 pm)
Re: -tip tree resume fail, bisect to 5bd5a45(x86: Add NX p ...
, mat
, (Fri Nov 26, 10:31 am)
Re: -tip tree resume fail, bisect to 5bd5a45(x86: Add NX p ...
, Lin Ming
, (Fri Nov 26, 4:39 pm)
Re: -tip tree resume fail, bisect to 5bd5a45(x86: Add NX p ...
, Lin Ming
, (Mon Nov 29, 10:00 pm)
Re: -tip tree resume fail, bisect to 5bd5a45(x86: Add NX p ...
, Peter Zijlstra
, (Tue Nov 30, 4:27 am)
Re: -tip tree resume fail, bisect to 5bd5a45(x86: Add NX p ...
, Lin Ming
, (Tue Nov 30, 5:15 pm)
Re: -tip tree resume fail, bisect to 5bd5a45(x86: Add NX p ...
, matthieu castet
, (Fri Dec 24, 10:26 am)
Re: -tip tree resume fail, bisect to 5bd5a45(x86: Add NX p ...
, Lin Ming
, (Sun Dec 26, 7:10 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Paul Turner
[tg_shares_up rewrite v4 11/11] sched: update tg->shares after cpu.shares write
Mr. James W. Laferriere
Re: Linux 2.6.25-rc1 , syntax error near unexpected token `;'
Chuck Ebbert
Re: PCI: Unable to reserve mem region problem
Linus Torvalds
Linux 2.6.34-rc4
Thomas Taranowski
[PATCH] RapidIO: Fix hang on RapidIO doorbell queue full condition
git
:
Ralf Wildenhues
[PATCH] Fix typos in the documentation
Len Brown
Re: fatal: unable to create '.git/index': File exists
Denis Bueno
Git clone error
Sam Vilain
Re: RFC: Flat directory for notes, or fan-out? Both!
Oliver Hoffmann
git init --bare versus git --bare init
git-commits-head
:
Linux Kernel Mailing List
ASoC: fix registration of the SoC card in the Freescale MPC8610 drivers
Linux Kernel Mailing List
drivers/acpi: use kasprintf
Linux Kernel Mailing List
nfsd41: sanity check client drc maxreqs
Linux Kernel Mailing List
bnx2x: Moving includes
Linux Kernel Mailing List
V4L/DVB: gspca - sonixj: Adjust minor values of sensor ov7630. - set the color ga...
openbsd-misc
:
Sevan / Venture37
Re: This is what Linus Torvalds calls openBSD crowd
Netmaffia.hu
Tini Lányok AKCIÓBAN OTTHON
Sam Fourman Jr.
Re: Help with Altell PC6700
Siju George
This is what Linus Torvalds calls openBSD crowd
Darrin Chandler
Re: OT: Python (was Re: vi in /bin)
linux-netdev
:
Kurt Van Dijck
Re: [PATCH net-next-2.6 1/2] can: add driver for Softing card
Eric Dumazet
Re: [PATCH net-next-2.6] net: Introduce skb_orphan_try()
Jamie Lokier
Re: POHMELFS high performance network filesystem. Transactions, failover, performa...
Jarek Poplawski
Re: socket api problem: can't bind an ipv6 socket to ::ffff:0.0.0.0
David Miller
Re: [PATCH v2] net: typos in comments in include/linux/igmp.h
Colocation donated by:
Syndicate