lkml.org 
[lkml]   [2007]   [Jul]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] [2/11] x86: Fix alternatives and kprobes to remap write-protected kernel text
Date
On Monday 23 July 2007 16:46:03 Mathieu Desnoyers wrote:

> I would recommend to prefix with __init every function that is assumed
> "safe" because executed at boot time. It would minimize the risks of
> buggy usage of these text-modification primitives. That includes
> text_poke() and a big chunk of the apply alternative code. (it should
> never be executed on a live system, except at boot time, right ?)

lock prefix patching can happen later on cpu hotplug/unplug event.

-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/

\
 
 \ /
  Last update: 2007-07-23 17:05    [W:0.886 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site