Re: [PATCH 1/4] [tip:x86/mm] Correcting improper large page preservation

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Suresh Siddha
Date: Friday, April 2, 2010 - 11:43 pm

On Wed, 2010-03-31 at 18:59 -0700, Siarhei Liakh wrote:

I have reviewed this patch and the only comment I have is:

On 64bit kernels, kernel text/data mapping and kernel identity mappings
are different virtual addresses mapping to same pfn ranges. For the
data/bss pages, does it help (in identifying certain data corruptions
more easily) in making the kernel identity mapping to be set to
read-only and enforce the need of RW only for the kernel data mappings.

Or is there some obscure code that uses something like
__va(__pa(data_symbol)) and writes to it?

If not, we can remove the __pa() constructs above and use the addr for
comparisons.

Otherwise this patch looks good to me.

Reviewed-by: Suresh Siddha <suresh.b.siddha@intel.com>

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 1/4] [tip:x86/mm] Correcting improper large pag ..., Suresh Siddha, (Fri Apr 2, 11:43 pm)
[No subject], Siarhei Liakh, (Tue Apr 6, 7:51 am)