lkml.org 
[lkml]   [2013]   [Sep]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] doc: fix some typos
On 09/13/13 20:49, Xishi Qiu wrote:

> diff --git a/Documentation/kprobes.txt b/Documentation/kprobes.txt
> index 0cfb00f..ca278d5 100644
> --- a/Documentation/kprobes.txt
> +++ b/Documentation/kprobes.txt
> @@ -92,7 +92,7 @@ stack contents as the probed function. When it is done, the handler
> calls jprobe_return(), which traps again to restore the original stack
> contents and processor state and switch to the probed function.
>
> -By convention, the callee owns its arguments, so gcc may produce code

Are you sure about that?
It looks correct to me (before the patch).

> +By convention, the caller owns its arguments, so gcc may produce code
> that unexpectedly modifies that portion of the stack. This is why
> Kprobes saves a copy of the stack and restores it after the jprobe
> handler has run. Up to MAX_STACK_SIZE bytes are copied -- e.g.,
>


--
~Randy


\
 
 \ /
  Last update: 2013-09-14 19:21    [W:1.511 / U:0.336 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site