Re: [PATCH v1 7/10] Uprobes Implementation

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Masami Hiramatsu
Date: Tuesday, March 23, 2010 - 7:20 am

Peter Zijlstra wrote:

Hmm, for low-level interface, it will be good. If we provide
a user interface(trace_uprobe.c), we'd better add pid filter
for it.


Out of curiously, what does the task-context mean? ('current' is probed
task in int3, isn't it?). I think, uprobe handler can cause page fault
(and should sleep) if the page is swapped out.


Hmm, I just worried about whether TLS/task stack can be executable
(no one set NX bit).


It will be good when we start working on 'ptrace2' :)
Anyway, the patch order looks a bit odd, because user_bkpt uses XOL
but XOL patch is introduced after user_bkpt patch...

Thank you,

-- 
Masami Hiramatsu
e-mail: mhiramat@redhat.com

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH v1 0/10] Uprobes patches., Srikar Dronamraju, (Sat Mar 20, 7:24 am)
[PATCH v1 1/10] Move Macro W to insn.h, Srikar Dronamraju, (Sat Mar 20, 7:25 am)
[PATCH v1 2/10] Move replace_page() to mm/memory.c, Srikar Dronamraju, (Sat Mar 20, 7:25 am)
[PATCH v1 3/10] Enhance replace_page() to support pagecache, Srikar Dronamraju, (Sat Mar 20, 7:25 am)
[PATCH v1 4/10] User Space Breakpoint Assistance Layer, Srikar Dronamraju, (Sat Mar 20, 7:25 am)
[PATCH v1 5/10] X86 details for user space breakpoint assi ..., Srikar Dronamraju, (Sat Mar 20, 7:25 am)
[PATCH v1 6/10] Slot allocation for Execution out of line, Srikar Dronamraju, (Sat Mar 20, 7:26 am)
[PATCH v1 7/10] Uprobes Implementation, Srikar Dronamraju, (Sat Mar 20, 7:26 am)
[PATCH v1 8/10] X86 details for uprobes., Srikar Dronamraju, (Sat Mar 20, 7:26 am)
[PATCH v1 9/10] Uprobes Documentation patch, Srikar Dronamraju, (Sat Mar 20, 7:26 am)
[PATCH v1 10/10] Uprobes samples., Srikar Dronamraju, (Sat Mar 20, 7:26 am)
Re: [PATCH v1 1/10] Move Macro W to insn.h, Masami Hiramatsu, (Sat Mar 20, 8:50 am)
Re: [PATCH v1 9/10] Uprobes Documentation patch, Randy Dunlap, (Sun Mar 21, 8:00 pm)
Re: [PATCH v1 9/10] Uprobes Documentation patch, Srikar Dronamraju, (Sun Mar 21, 10:34 pm)
Re: [PATCH v1 1/10] Move Macro W to insn.h, Srikar Dronamraju, (Sun Mar 21, 11:24 pm)
Re: [PATCH v1 1/10] Move Macro W to insn.h, Masami Hiramatsu, (Mon Mar 22, 7:11 am)
Re: [PATCH v1 9/10] Uprobes Documentation patch, Randy Dunlap, (Mon Mar 22, 7:51 am)
Re: [PATCH v1 0/10] Uprobes patches., Andrew Morton, (Mon Mar 22, 6:38 pm)
Re: [PATCH v1 0/10] Uprobes patches., Srikar Dronamraju, (Tue Mar 23, 3:55 am)
Re: [PATCH v1 7/10] Uprobes Implementation, Peter Zijlstra, (Tue Mar 23, 4:01 am)
Re: [PATCH v1 7/10] Uprobes Implementation, Peter Zijlstra, (Tue Mar 23, 4:04 am)
Re: [PATCH v1 4/10] User Space Breakpoint Assistance Layer, Srikar Dronamraju, (Tue Mar 23, 4:26 am)
Re: [PATCH v1 7/10] Uprobes Implementation, Srikar Dronamraju, (Tue Mar 23, 5:23 am)
Re: [PATCH v1 7/10] Uprobes Implementation, Peter Zijlstra, (Tue Mar 23, 6:46 am)
Re: [PATCH v1 7/10] Uprobes Implementation, Masami Hiramatsu, (Tue Mar 23, 7:20 am)
Re: [PATCH v1 7/10] Uprobes Implementation, Ananth N Mavinakayan ..., (Tue Mar 23, 8:05 am)
Re: [PATCH v1 7/10] Uprobes Implementation, Peter Zijlstra, (Tue Mar 23, 8:15 am)
Re: [PATCH v1 7/10] Uprobes Implementation, Peter Zijlstra, (Tue Mar 23, 8:15 am)
Re: [PATCH v1 7/10] Uprobes Implementation, Frank Ch. Eigler, (Tue Mar 23, 8:26 am)
Re: [PATCH v1 7/10] Uprobes Implementation, Masami Hiramatsu, (Tue Mar 23, 10:36 am)
Re: [PATCH v1 7/10] Uprobes Implementation, Ananth N Mavinakayan ..., (Tue Mar 23, 10:59 pm)
Re: [PATCH v1 7/10] Uprobes Implementation, Srikar Dronamraju, (Wed Mar 24, 12:58 am)
Re: [PATCH v1 7/10] Uprobes Implementation, Srikar Dronamraju, (Wed Mar 24, 3:22 am)
Re: [PATCH v1 7/10] Uprobes Implementation, Peter Zijlstra, (Wed Mar 24, 6:00 am)
Re: [PATCH v1 7/10] Uprobes Implementation, Srikar Dronamraju, (Thu Mar 25, 12:56 am)
Re: [PATCH v1 7/10] Uprobes Implementation, Srikar Dronamraju, (Thu Mar 25, 1:41 am)