login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
June
»
11
Re: [PATCH 1/4 V2] [tip:x86/mm] Correcting improper large page preservation
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Siarhei Liakh
Subject:
Re: [PATCH 1/4 V2] [tip:x86/mm] Correcting improper large page preservation
Date: Thursday, June 10, 2010 - 7:11 pm
On Sun, Jun 6, 2010 at 9:00 PM, Siarhei Liakh <sliakh.lkml@gmail.com> wrote:
quoted text
> This patch fixes a bug in try_preserve_large_page() which may result > in improper large page preservation and improper application of page > attributes to the memory area outside of the original change request. > More specifically, the problem manifests itself when set_memory_*() is > called for several pages at the beginning of the large page and > try_preserve_large_page() erroneously concludes that the change can be > applied to whole large page. > The fix consists of 3 parts: > 1. addition of "required" protection attributes in > static_protections(), so .data and .bss can be guaranteed to stay "RW" > 2. static_protections() is now called for every small page within > large page to determine compatibility of new protection attributes > (instead of just small pages within the requested range). > 3. large page can be preserved only if attribute change is > large-page-aligned and covers whole large page. > > V1: try_preserve_large_page() patch for Linux 2.6.34-rc2 > V2: replaced pfn check with address check for kernel rw-data > > Signed-off-by: Siarhei Liakh <sliakh.lkml@gmail.com> > Signed-off-by: Xuxian Jiang <jiang@cs.ncsu.edu> > Reviewed-by: Suresh Siddha <suresh.b.siddha@intel.com> > ---
Does anyone have any feedback on this patch set? Thank you. --
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:
[PATCH 1/4 V2] [tip:x86/mm] Correcting improper large page ...
, Siarhei Liakh
, (Sun Jun 6, 6:00 pm)
Re: [PATCH 1/4 V2] [tip:x86/mm] Correcting improper large ...
, Siarhei Liakh
, (Thu Jun 10, 7:11 pm)
[tip:x86/mm] x86, mm: Correcting improper large page prese ...
, tip-bot for Siarhei ...
, (Fri Jun 11, 3:54 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
Og dreams of kernels
Jens Axboe
[PATCH 31/33] Fusion: sg chaining support
Arnd Bergmann
Re: finding your own dead "CONFIG_" variables
Mark Brown
[PATCH 2/2] Subject: natsemi: Allow users to disable workaround for DspCfg reset
Tony Breeds
[LGUEST] Look in object dir for .config
git
:
Brian Downing
Re: Git in a Nutshell guide
John Benes
Re: master has some toys
Matthias Lederhofer
[PATCH 4/7] introduce GIT_WORK_TREE to specify the work tree
Alexander Sulfrian
[RFC/PATCH] RE: git calls SSH_ASKPASS even if DISPLAY is not set
Junio C Hamano
Re: Rss produced by git is not valid xml?