lkml.org 
[lkml]   [2010]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH v2 7/11] Uprobes Implementation
    From
    Date
    On Tue, 2010-05-11 at 16:57 -0400, Frank Ch. Eigler wrote:
    > Hi -
    >
    > On Tue, May 11, 2010 at 10:32:18PM +0200, Peter Zijlstra wrote:
    > > [...]
    > > Right so what I've suggested several times it to simply call the same
    > > handler in both contexts. If it returns -EFAULT, set TIF_UPROBE or
    > > whatever and try again from task context.
    >
    > That could work, but random partial execution & restart of the handler
    > will make it tricky to write a single handler that reliably produces
    > results. It would likely need a flag to indicate that it failed
    > previously so as to throw away partial results.

    Or it shouldn't leave half-assed state around to begin with.



    \
     
     \ /
      Last update: 2010-05-12 10:08    [W:0.020 / U:38.068 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site