lkml.org 
[lkml]   [2006]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] 2-ptrace_multi
From
Date
renzo@cs.unibo.it (Renzo Davoli) writes:

> ptmulti kernel patch inserts a new useful option for ptrace() call,
> adding a new request type to ptrace() syscall.
>
> With PTRACE_MULTI option you can send multiple ptrace requests with a
> single system call: commonly a process that uses ptrace() needs
> several PTRACE_PEEKDATA for getting some useful, even small pieces of data.
> It is useful for these programs to run several ptrace
> operations while limiting the number of context switches.

What context switches do you mean? System calls? Linux is in general
designed to have very cheap system calls and they shouldn't be more tha
a few hundred cycles.

>
> Debuggers and virtual machines (like User Mode Linux) and many other
> applications that are based on ptrace can get great
> performance improvements by PTRACE_MULTI: the number of system
> calls (and context switches) decreases significantly.

You forgot to add numbers?

-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: 2006-05-18 22:19    [W:0.074 / U:1.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site