[PATCH] KVM: trivial document fixes

2009-12-23 Thread Wu Fengguang
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

Re: [PATCH] markers: comment marker_synchronize_unregister() on data dependency

2008-11-27 Thread Wu Fengguang
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

[PATCH] markers: comment usage of marker_synchronize_unregister()

2008-11-26 Thread Wu Fengguang
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

Re: [PATCH] Prevent trace call into unloaded module text

2008-11-26 Thread Wu Fengguang
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

Re: [PATCH] Prevent trace call into unloaded module text

2008-11-26 Thread Wu Fengguang
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

[PATCH] markers: comment marker_synchronize_unregister() on data dependency

2008-11-26 Thread Wu Fengguang
: 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

Re: [PATCH] markers: comment marker_synchronize_unregister() on data dependency

2008-11-26 Thread Wu Fengguang
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

[PATCH] Prevent trace call into unloaded module text

2008-11-24 Thread Wu Fengguang
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