Signed-off-by: Wu Fengguang fengguang...@intel.com
---
Documentation/kvm/api.txt | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
--- linux.orig/Documentation/kvm/api.txt2009-12-12 09:54:19.0
+0800
+++ linux/Documentation/kvm/api.txt 2009-12-12 10:48
On Thu, Nov 27, 2008 at 10:00:03AM +0200, Mathieu Desnoyers wrote:
* Wu Fengguang ([EMAIL PROTECTED]) wrote:
+
+marker_synchronize_unregister() must be called before the first occurrence
of
You should probably say
.. must be called between probe unregistration and the first
Add more comments to marker_synchronize_unregister() in order to
reduce the chance of misusing.
Based on comments from Lai Jiangshan [EMAIL PROTECTED].
Cc: Lai Jiangshan [EMAIL PROTECTED]
Cc: Mathieu Desnoyers [EMAIL PROTECTED]
Signed-off-by: Wu Fengguang [EMAIL PROTECTED]
---
I'm still
On Wed, Nov 26, 2008 at 01:17:55PM +0200, Avi Kivity wrote:
Wu Fengguang wrote:
Add marker_synchronize_unregister() before module unloading.
This prevents possible trace calls into unloaded module text.
Signed-off-by: Wu Fengguang [EMAIL PROTECTED]
---
diff --git a/virt/kvm/kvm_main.c
On Wed, Nov 26, 2008 at 07:46:19PM +0800, Wu Fengguang wrote:
On Wed, Nov 26, 2008 at 01:17:55PM +0200, Avi Kivity wrote:
Wu Fengguang wrote:
Add marker_synchronize_unregister() before module unloading.
This prevents possible trace calls into unloaded module text.
Signed-off-by: Wu
: Mathieu Desnoyers [EMAIL PROTECTED]
Signed-off-by: Wu Fengguang [EMAIL PROTECTED]
---
diff --git a/Documentation/markers.txt b/Documentation/markers.txt
index 089f613..8bf6afe 100644
--- a/Documentation/markers.txt
+++ b/Documentation/markers.txt
@@ -51,11 +51,15 @@ to call) for the specific marker
On Thu, Nov 27, 2008 at 03:23:06AM +0200, Lai Jiangshan wrote:
Wu Fengguang wrote:
[updated patch to include Documentation/markers.txt changes]
Add document and comments on marker_synchronize_unregister(): it
should be called before freeing resources that the probes depend on.
Based
Add marker_synchronize_unregister() before module unloading.
This prevents possible trace calls into unloaded module text.
Signed-off-by: Wu Fengguang [EMAIL PROTECTED]
---
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c
index a87f45e..64f38b3 100644
--- a/virt/kvm/kvm_main.c
+++ b/virt