lkml.org 
[lkml]   [2009]   [Oct]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [patch 3/3] x86_64, cpa: use only text section in set_kernel_text_rw/ro
From
Date
On Wed, 2009-10-28 at 18:46 -0800, Suresh Siddha wrote:
> plain text document attachment (fix_kernel_text_ro_rw.patch)
> set_kernel_text_rw()/set_kernel_text_ro() are marking pages starting
> from _text to __start_rodata as RW or RO.
>
> With CONFIG_DEBUG_RODATA, there might be free pages (associated with
> padding the sections to 2MB large page boundary) between text
> and rodata sections that are given back to page allocator. So we should
> use only use the start (__text) and end (__stop___ex_table) of the
> text section in set_kernel_text_rw()/set_kernel_text_ro().
>
> Cc: Steven Rostedt <rostedt@goodmis.org>
> Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
> ---
>

I'll go ahead and test this to make sure it does not bust ftrace with an
allyesconfig.

Thanks,

-- Steve




\
 
 \ /
  Last update: 2009-10-29 03:09    [W:0.096 / U:0.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site